a) Before main() b) Before any scanf/printf c) After main() d) It can be ...
View QuestionWhich of the following are C preprocessors?
a) #ifdef b) #define c) #endif d) all of the mentioned Answer: d
View QuestionWhat is a preprocessor?
a) That processes its input data to produce output that is used as input to another program
View Question#include < somefile.h > are _______ files and #include “somefile.h” ________ files.
#include < somefile.h > are _______ files and #include “somefile.h” ________ files. a) Library, Library b) Library, user-created ...
View QuestionPreprocessor feature that supply line numbers and filenames to compiler is called?
a) Selective inclusion b) macro substitution c) Concatenation d) Line control Answer: d
View QuestionC preprocessor is conceptually the first step during compilation.
a) true b) false c) Depends on the compiler d) Depends on the standard Answer: ...
View Question
What will be the output of the following C code?
#include < stdio.h >
#define foo(m, n) m * n = 10
int main()
{
printf(“in main\n”);
}
What will be the output of the following C code? #include < stdio.h > #define foo(m, n) m ...
View QuestionC preprocessors can have compiler specific features.
a) true b) false c) Depends on the standard d) Depends on the platform Answer: a
View QuestionWhat is #include < stdio.h >?
What is #include < stdio.h >? a) Preprocessor directive b) Inclusion directive c) File inclusion directive d) None of the ...
View QuestionProperty which allows to produce different executable for different platforms in C is called?
a) File inclusion b) Selective inclusion c) Conditional compilation d) Recursive macros Answer: c
View Question