Input / Output – True / False Questions1. While calling the fprintf() function in the format string conversion specifier %s can be used to write…
Logic Gates – General Questions1. The output will be a LOW for any case when one or more inputs are zero in…
Input / Output – Point Out Correct Statements1. Which of the following statements about the program is correct? A. The code counts the number of…
Input / Output – Point Out Errors1. Point out the error in the program. A. Error: in unsigned char statement B. Error: unknown file…
Input / Output – Find Output of Program1. What will be the content of 'file.c' after executing the following program? 2. What will be the…
Input / Output – General Questions1. In a file that contains the line "I am a boy\r\n" then on reading this line into…
Strings – Yes / No Questions1. Will the program compile successfully? A. Yes B. No 2. For the following statements will arr[3] and…
Strings – Point Out Correct Statements1. Which of the following statements are correct about the program below? A. The code converts a string…
Strings – Find Output of Program1. What will be the output of the program? A. Hello B. World C. Hello World D. WorldHello…
Strings – General Questions1. Which of the following function sets first n characters of a string to a given character? A.…