fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a[] = {5, 15, 34, 54, 14, 2, 52, 72};
  5. int *p = &a[5];
  6. printf("%d\n",p[-2]);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 4568KB
stdin
Standard input is empty
stdout
54