#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


Please Help Members By Posting Answers For Below Questions

List some of the static data structures in C?

946


Why does not c have an exponentiation operator?

791


Why c is called a middle level language?

794


Explain the difference between malloc() and calloc() in c?

778


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

851






Write a C program to count the number of email on text

1615


Is c high or low level?

765


What are the properties of union in c?

791


How can I delete a file?

804


What is wrong with this initialization?

748


What is a const pointer in c?

842


Explain how do you determine the length of a string value that was stored in a variable?

885


Can we change the value of #define in c?

762


What are the 4 types of functions?

764


How was c created?

790