1. Is there any difference between the following two statements?
char *p=0;
char *t=NULL;
A. Yes
B. No
Advertisement
2. Is this a correct way for NULL pointer assignment?
int i=0;
char *q=(char*)i;
A. Yes
B. No
Advertisement
3. Is the NULL pointer same as an uninitialised pointer?
A. Yes
B. No
Advertisement
4. Will the program compile in Turbo C?
A. Yes
B. No
Advertisement
5. Will the following program give any warning on compilation in TurboC (under DOS)?
A. Yes
B. No
Advertisement
< PREVIOUS POSTPointers - True / False Questions
NEXT POST >Strings - General Questions