C Preprocessor on C related Questions and Answers - Page 2

Question 12 : The preprocessor directive used to give additional information to the compiler, beyond which is conveyed in the language _____________
1. #include
2. #define
3. #pragma
4. #elif
View Answer   Discuss with Members

Question 13 : Which of the following is not a preprocessor directive?
1. #error
2. #pragma
3. #if
4. #ifelse
View Answer   Discuss with Members

Question 14 : _______________ is the preprocessor directive which is used to end the scope of #ifdef.
1. #elif
2. #ifndef
3. #endif
4. #if
View Answer   Discuss with Members

Question 15 : In the directive #pragma pack(n), if the value of 'n' is given to be 5, then what happens?
1. Error
2. Warning but no error
3. Executes the pragma statement
4. Ignores the pragma statement and executes the program
View Answer   Discuss with Members

Question 16 : In the directive, #pragma pack(n), which of the following is not a valid value of n?
1. 1
2. 2
3. 3
4. 4
View Answer   Discuss with Members

Question 17 : In which stage the following code
#include
gets replaced by the contents of the file stdio.h
1. During editing
2. During linking
3. During execution
4. During preprocessing
View Answer   Discuss with Members


View 11 - 17 of 17 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter