C Multiple Choice Questions Standard Input Output Online Exam Quiz
C Multiple Choice Questions Standard Input Output GK Quiz. Question and Answers related to C Multiple Choice Questions Standard Input Output. MCQ (Multiple Choice Questions with answers about C Multiple Choice Questions Standard Input Output
What is the value of EOF?
Options
A : -1
B : 0
C : 1
D : 10
What is the default return-type of getchar()?
Options
A : char
B : int
C : char *
D : reading character doesn’t require a return-type
For a typical program, the input is taken using _________
Options
A : scanf
B : Files
C : Command-line
D : All of the mentioned
What is the return value of putchar()?
Options
A : The character written
B : EOF if an error occurs
C : Nothing
D : Both character written & EOF if an error occurs
What is the use of getchar()?
Options
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
Chemical Engineering Basics - Part 1 more Online Exam Quiz
C Interview Register Variables
C Language Interview Questions For Loops
C Language Interview Questions Precedence Order Evaluation
C Language Interview Questions Type Conversions
C Multiple Choice Questions Error Handling
C Programming Assigment Operators Expressions 2
C Programming C Preprocessor 2