fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int* a = 0;
  7. int* b = 0;
  8.  
  9. cout << "a=" << a << " b=" << b << endl;
  10.  
  11. a, b = new int[2];
  12.  
  13. cout << "a=" << a << " b=" << b << endl;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
a=0 b=0
a=0 b=0x2abcad27cc30