fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int array[5] = {1,1,2,1,1};
  5. for(int i=0;i<5;i++){
  6. printf("%p\n",& array [i]);
  7. }
  8.  
  9.  
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
0x7ffc3ac3e030
0x7ffc3ac3e034
0x7ffc3ac3e038
0x7ffc3ac3e03c
0x7ffc3ac3e040