fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. char s[10] = "ABCDE";
  6.  
  7. strcat(s + 2, "ABCDE");
  8.  
  9. printf("%d", s[0] - s[2]);
  10. return 0;
  11. }
  12.  
  13.  
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
-2