fork download
  1. //#include "stdafx.h"
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6. int i = 42;
  7. int *a = &i;
  8. (*a)++;
  9. cout << *a;
  10. cin.get();
  11. return 0;
  12. }
Success #stdin #stdout 0s 3464KB
stdin
Standard input is empty
stdout
43