#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
List some of the static data structures in C?
Why does not c have an exponentiation operator?
Why c is called a middle level language?
Explain the difference between malloc() and calloc() in c?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Write a C program to count the number of email on text
Is c high or low level?
What are the properties of union in c?
How can I delete a file?
What is wrong with this initialization?
What is a const pointer in c?
Explain how do you determine the length of a string value that was stored in a variable?
Can we change the value of #define in c?
What are the 4 types of functions?
How was c created?