fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int num[26],temp;
  5. num[0]=100;
  6. num[25]=200;
  7. temp = num[25];
  8. num[25]= num[0];
  9. num[0]=temp;
  10. printf("\n%d%d",num[0],num[25]);
  11.  
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
200100