Explore topic-wise MCQs in C Programming Interview.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your C Programming Interview knowledge and support exam preparation. Choose a topic below to get started.

1.

How many characters for pushback is guaranteed per file while using ungetc(c, fp);?

A. Only 1 character
B. Characters within 1 word
C. Characters within 1st new-line
D. All characters upto NULL character
Answer» D. All characters upto NULL character
2.

jkl

A. kl
B. Undefined behaviour
C. jk
Answer» C. jk
3.

Which character of pushback is guaranteed per file?

A. True
B. False
C. Depends on the compiler
D. Depends on the platform
Answer» C. Depends on the compiler