fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char a;
  5. char b;
  6. int c;
  7. char d;
  8. double e;
  9.  
  10. printf("%p\n",(void *)&a);
  11. printf("%p\n",(void *)&b);
  12. printf("%p\n",(void *)&c);
  13. printf("%p\n",(void *)&d);
  14. printf("%p\n",(void *)&e);
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
0x7ffc53204969
0x7ffc5320496a
0x7ffc5320496c
0x7ffc5320496b
0x7ffc53204970