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