Explore topic-wise MCQs in C.

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

1.

EOF is an integer type defined in stdio. hand has a value ____________

A. 1
B. 0
C. NULL
D. 1
Answer» E.
2.

What is the function of the mode w+ ?

A. create text file for writing, discard previous contents if any
B. create text file for update, discard previous contents if any
C. create text file for writing, do not discard previous contents if any
D. create text file for update, do not discard previous contents if any
Answer» C. create text file for writing, do not discard previous contents if any