Logic Gates – General Questions 1. The output will be a LOW for any case when one or more inputs are zero in…
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 – General Questions 1. Which of the following function sets first n characters of a string to a given character? A.…
Pointers – General Questions 1. What is (void*)0? A. Representation of NULL pointer B. Representation of void pointer C. Error D. None…
Functions – General Questions 1. The keyword used to transfer control from a function back to the calling function is A. switch…
Expressions – General Questions 1. Which of the following is the correct order of evaluation for the below expression? A. * /…
Declarations and Initialization – General Questions 1. Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1?…