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.

The source filename and line number come from the preprocessor macros ________ and ______

A. _ _FILE_ _ and _ _LINE_ _
B. _ _NAME_ _ and _ _NUMBER_ _
C. _ _FILENAME_ _ and _ _NMN_ _
D. _ _FILE_ _ and _ _NUM_ _
Answer» B. _ _NAME_ _ and _ _NUMBER_ _
2.

The following message is displayed in stderr.
Assertion failed: expression, file filenum, line nmn

A. true
B. false
Answer» B. false