#include <iostream>using namespace std; int main() { int* p = new int(4); delete p; if(p == nullptr) cout << "hi sehe\n";}
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!