fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int i=1, j=2;
  6. printf("%p\n%p\n",&i,&j);
  7. int *iptr = &i;
  8. printf("%p\n",iptr);
  9. iptr++;
  10. printf("%p\n",iptr);
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 5316KB
stdin
10 20
stdout
0x7ffffe4313f0
0x7ffffe4313f4
0x7ffffe4313f0
0x7ffffe4313f4