fork download
  1. #include <stdio.h>
  2.  
  3. void foo(int a) {
  4. printf("%p\n", &a);
  5. }
  6.  
  7. int main(void) {
  8. int a = 3;
  9. printf("%p\n", &a);
  10. foo(a);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
0xbfa61bb8
0xbfa61bbc