1 2 3 4 5 6 7 8
#include<iostream.h> int main(){ cout << "NULL type is " << typeid(NULL).name() << endl; char str[]=""; char* str2=NULL; cout<<sizeof(str)<<"\n"<<sizeof(str2); return 0; }
1 2 3
NULL type is i 1 4