fork(1) download
  1. #include <stdio.h>
  2.  
  3.  
  4. int main(void)
  5. {
  6.  
  7. int a = 1;
  8.  
  9. int *p ;
  10. p=&a;
  11. *p=10;
  12.  
  13. printf("%d\n", a);
  14.  
  15. return 0;
  16. }
  17.  
  18.  
  19.  
Success #stdin #stdout 0s 544KB
stdin
5
1
5
2
1
9
stdout
10