Safe Initialization

#include <iostream>
using namespace std;

int main() {
    // your code here 
    // cout the null and nullptr
    cout<<NULL<<endl;
    cout<<nullptr<<endl;
}
Upvote
Downvote
Loading...

Input

Expected Output

0 nullptr