Explore topic-wise MCQs in C Interview.

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

1.

d 2 in myfile

A. d 1 in myfile
B. d in myfile and 1 in screen
C. d in myfile and 2 in screen
Answer» B. d in myfile and 1 in screen
2.

Compile time error (after first command)

A. d in the myfile file
B. d on the screen
C. Undefined behaviour
Answer» C. Undefined behaviour
3.

putchar(c) function/macro always outputs character c to the __________

A. screen
B. standard output
C. depends on the compiler
D. depends on the standard
Answer» C. depends on the compiler