1. Is there any difference between the following two statements?
char *p=0;
char *t=NULL;
A. Yes
B. No
2. Is this a correct way for NULL pointer assignment?
int i=0;
char *q=(char*)i;
A. Yes
B. No
3. Is the NULL pointer same as an uninitialised pointer?
A. Yes
B. No
4. Will the program compile in Turbo C?
A. Yes
B. No
5. Will the following program give any warning on compilation in TurboC (under DOS)?
A. Yes
B. No
Warning: Undefined variable $in_same_cat in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27
Warning: Undefined variable $excluded_categories in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27
< PREVIOUS POSTPointers - True / False Questions
NEXT POST >Strings - General Questions