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