C/C MCQ Quiz Hub

Computer Science

Choose a topic to test your knowledge and improve your C/C skills

Property which allows to produce different executable for different platforms in C is called?





✅ Correct Answer: 3

#include is called





✅ Correct Answer: 1

C preprocessors can have compiler specific features.





✅ Correct Answer: 1

Preprocessor feature that supply line numbers and file names to compiler is called?





✅ Correct Answer: 4

#include are _______ files and #include "somefile.h ________ files.





✅ Correct Answer: 4

A preprocessor is a program.





✅ Correct Answer: 1

Which of the following are C preprocessors?





✅ Correct Answer: 4

#include statement must be written.





✅ Correct Answer: 2

#pragma exit is primarily used for?





✅ Correct Answer: 3

The C-preprocessors are specified with _________symbol.





✅ Correct Answer: 1

The #include directive





✅ Correct Answer: 3

The preprocessor provides the ability for _______________.





✅ Correct Answer: 4

If #include is used with file name in angular brackets.





✅ Correct Answer: 1

What is the output of this C code? int main() { enum {ORANGE = 12, MANGO, BANANA = 11, APPLE}; printf("APPLE = %d ", APPLE); }





✅ Correct Answer: 2