fork(1) download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int x = 5;
  5. printf("value of x = %d\n", x);
  6. printf("address of x = %d\n", &x);
  7.  
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
value of x = 5
address of x = -1977789932