fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(void) {
  5.  
  6. int *p = new int;
  7. *p = 100;
  8. cout<<*p +2;
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
102