Question
#include statement must be written
a.
Before main()
b.
Before any scanf/printf
c.
After main()
d.
It can be written anywhere
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. #include statement must be written
Similar Questions
Discover Related MCQs
Q. #pragma exit is primarily used for?
View solution
Q. The C-preprocessors are specified with _________symbol.
View solution
Q. The preprocessor provides the ability for _______________
View solution
Q. What is the sequence for preprocessor to look for the file within <> ?
View solution
Q. Can function definition be present in header files?
View solution
Q. If the file name is enclosed in double quotation marks
View solution
Q. If the file name is enclosed in angle brackets
View solution
Q. Which of the following names for files not accepted?
View solution
Q. What is the advantage of #define over const?
View solution
Q. Which of the following properties of #define not true?
View solution
Q. The “else if” in conditional inclusion is written by?
View solution
Q. Which of the following sequences are unaccepted in C language?
a) #if
#else
#endif
b) #if
#elif
#endif
c) #if
#if
#endif
d) #if
#undef
#endif
View solution
Q. In a conditional inclusion, if the condition that comes after the if holds.
View solution
Q. Conditional inclusion can be used for
View solution
Q. The #elif directive cannot appear after the preprocessor #else directive
View solution
Q. For each #if, #ifdef, and #ifndef directive
View solution
Q. The #else directive is used for
View solution
Q. Use of functions
View solution
Q. Any C program
View solution
Q. What is function?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!