Input / Output – True / False Questions 1. While calling the fprintf() function in the format string conversion specifier %s can be used to write…
Input / Output – Point Out Correct Statements 1. Which of the following statements about the program is correct? A. The code counts the number of…
Input / Output – Point Out Errors 1. Point out the error in the program. A. Error: in unsigned char statement B. Error: unknown file…
Input / Output – Find Output of Program 1. What will be the content of 'file.c' after executing the following program? 2. What will be the…
Input / Output – General Questions 1. In a file that contains the line "I am a boy\r\n" then on reading this line into…
Strings – Yes / No Questions 1. Will the program compile successfully? A. Yes B. No 2. For the following statements will arr[3] and…
Strings – Point Out Correct Statements 1. Which of the following statements are correct about the program below? A. The code converts a string…
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…