#include <iostream>
using namespace std;
int main()
{
if(nullptr == 0)
cout << "This will print" << endl;
int* ptr = nullptr;
if(ptr == 0)
cout << "This will also print" << endl;
if(ptr == nullptr)
cout << "So will this" << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CiAgICBpZihudWxscHRyID09IDApCiAgICAgICAgY291dCA8PCAiVGhpcyB3aWxsIHByaW50IiA8PCBlbmRsOwoKICAgIGludCogcHRyID0gbnVsbHB0cjsKICAgIGlmKHB0ciA9PSAwKQogICAgICAgIGNvdXQgPDwgIlRoaXMgd2lsbCBhbHNvIHByaW50IiA8PCBlbmRsOwoKICAgIGlmKHB0ciA9PSBudWxscHRyKQogICAgICAgIGNvdXQgPDwgIlNvIHdpbGwgdGhpcyIgPDwgZW5kbDsKCiAgICByZXR1cm4gMDsKfQ==