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