What is the use of getchar() ?
A) The next input character each time it is called
B) EOF when it encounters end of file
C) The next input character each time it is called EOF when it encounters end of file
D) None of the mentioned
Correct Answer:
Verified
Q1: Which among the following is the odd
Q2: For a typical program, the input is
Q3: What does the following command line signify?
Q4: What is the default return-type of getchar()?
A)char
B)int
C)char
Q5: What is the value of EOF?
A)-1
B)0
C)1
D)10
Q7: Which of the following statement is true?
A)The
Q8: What is the return value of putchar()?
A)The
Q9: Escape sequences are prefixed with _
A)%
B)/
C)"
D)None of
Q10: What is the purpose of sprintf?
A)It prints
Q11: The syntax to print a % using
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents