6. Which of the statements is correct about the program?
A. Output: Garbage value
B. Output: 1
C. Output: 3
D. Error: Invalid indirection
7. Which statement will you add to the following program to ensure that the program outputs “GkFeed” on execution?
A. *pt=”;
B. pt=’\0′;
C. pt=’\n’;
D. *pt=’\0′;
8. In the following program add a statement in the function fact() such that the factorial gets stored in j.
A. j=s;
B. *j=s;
C. *j=&s;
D. &j=s;
Pages: 1 2
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 - Point Out Errors
NEXT POST >Pointers - True / False Questions