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