I have a very small doubt(might sound silly..).
consider a char pointer that is undefined.
now, if i try to access the undefined pointer, i will get a run time error.Code:char *p;
This much i understand.Code:char ch = p;
I could initialize the pointer to NULL. But let's say i didn't do that.
Is there a way to check whether a pointer is undefined?