fork download
  1. main()
  2.  
  3. {
  4.  
  5. int a[2];
  6.  
  7. printf("%x\n",a);
  8. printf("%x\n",a+1);
  9. printf("%x\n",&a+1);
  10.  
  11. }
  12.  
stdin
Standard input is empty
compilation info
prog.c:3: warning: return type defaults to ‘int’
prog.c: In function ‘main’:
prog.c:7: warning: implicit declaration of function ‘printf’
prog.c:7: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:7: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘int *’
prog.c:8: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘int *’
prog.c:9: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘int (*)[2]’
prog.c:11: warning: control reaches end of non-void function
stdout
bfd9ec80
bfd9ec84
bfd9ec88