#define MAX 3
main()
{
printf("MAX = %d \n",MAX );
#undef MAX
#ifdef MAX
printf("Vector Instituteā);
#endif
Answer Posted / poorna
Initially the max is defined so the first statement printf prints max=3,
#undef used to remove all the defined terms.so the max is not defined after this step.
So the if statement became false hence answer is Max=3
Is This Answer Correct ? | 27 Yes | 3 No |
Post New Answer View All Answers
What are the back slash character constants or escape sequence charactersavailable in c?
What is return in c programming?
What is difference between static and global variable in c?
Explain the difference between exit() and _exit() function?
Explain pointer. What are function pointers in C?
Explain how do you determine whether to use a stream function or a low-level function?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Why is %d used in c?
How can I write a function that takes a format string and a variable number of arguments?
Whats s or c mean?
What is pointer to pointer in c language?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
Can we use any name in place of argv and argc as command line arguments?
What is meant by preprocessor in c?
Are there namespaces in c?