fork(1) download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5.  
  6. int a = 10;
  7. int* b = &a;
  8. *b = 20;
  9. std::cout << a;
  10. return 0;
  11. }
Success #stdin #stdout 0s 4376KB
stdin
Standard input is empty
stdout
20