11. C preprocessors can have compiler specific features.
12. In a conditional inclusion, if the condition that comes after the if is true, then what will happen during compilation?
13. What will be the output of the following C code?
#include <stdio.h>
void main()
{
#define max 37
printf("%d", max);
}
#include <stdio.h>
void main()
{
#define max 37
printf("%d", max);
}
14. Which of the following properties of #define is not true?
15. What is a preprocessor?
16. What will be the output of the following C code?
#include <stdio.h>
#define MIN 0
#if MIN
#define MAX 10
#endif
int main()
{
printf("%d %d\n", MAX, MIN);
return 0;
}
#include <stdio.h>
#define MIN 0
#if MIN
#define MAX 10
#endif
int main()
{
printf("%d %d\n", MAX, MIN);
return 0;
}
17. What is the scope of an external variable?
18. What is the sequence for preprocessor to look for the file within <>?
19. What is the scope of an automatic variable?
20. Which of the following is a storage specifier?
Read More Section(Function)
Each Section contains maximum 100 MCQs question on Function. To get more questions visit other sections.