Const – Point Out Errors 1. Point out the error in the program. A. Error: unknown pointer conversion B. Error: cannot convert ptr…
Const – Find Output of Program 1. What will be the output of the program? A. 128 B. Garbage value C. Error D. 0…
Input / Output – Yes / No Questions 1. stderr, stdin, stdout are FILE pointers A. Yes B. No 2. A file written in text mode…
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…