fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a = 5;
  6.  
  7. printf ("%p = %i\n", (void*) &a, a);
  8. a = 10;
  9. printf ("%p = %i\n", (void*) &a, a);
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
0xbfe6921c = 5
0xbfe6921c = 10