#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
the question is that what you have been doing all these periods (one year gap)
What tq means in chat?
What is typeof in c?
What does 3 periods mean in texting?
How does #define work?
What is bss in c?
Write a program to reverse a string.
Explain zero based addressing.
How can type-insensitive macros be created?
What is sizeof int in c?
Where in memory are my variables stored?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What are linker error?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What are local static variables? How can you use them?