Strings – Find Output of Program 1. What will be the output of the program? A. Hello B. World C. Hello World D. WorldHello…
Strings – General Questions 1. Which of the following function sets first n characters of a string to a given character? A.…
Pointers – Yes / No Questions 1. Is there any difference between the following two statements? char *p=0; char *t=NULL; A. Yes B. No…
Pointers – True / False Questions 1. Are the expression *ptr++ and ++*ptr are same? A. True B. False 2. Will the program compile?…
Functions – Yes / No Questions 1. Functions cannot return a floating point number A. Yes B. No 2. Every function must return a…
Functions – True / False Questions 1. A function cannot be defined inside another function A. True B. Fals 2. Functions cannot return more…
Functions – Point Out Correct Statements 1. Which of the following statements are correct about the program? A. It prints garbage values infinitely B.…
Functions – Point Out Errors 1. Point out the error in the program A. Missing parenthesis in return statement B. The function should…
Functions – Find Output of Program 1. What will be the output of the program in the 16-bit platform (Turbo C under DOS)? A.…