C/C MCQ Quiz Hub

Computer Science

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

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




2. #include is called




3. C preprocessors can have compiler specific features.




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




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




6. A preprocessor is a program.




7. Which of the following are C preprocessors?




8. #include statement must be written.




9. #pragma exit is primarily used for?




10. The C-preprocessors are specified with _________symbol.




11. The #include directive




12. The preprocessor provides the ability for _______________.




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




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