#define MAX 3
main()
{
printf("MAX = %d
",MAX );
#undef MAX
#ifdef MAX
printf("Vector Institute”);
#endif
}



#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("..

Answer / chandrika

MAX=3

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

How can I pad a string to a known length?

0 Answers  


Which one would you prefer - a macro or a function?

0 Answers  


Explain goto?

0 Answers  


Write a program that takes a 5 digit number and calculates 2 power that number and prints it

7 Answers  


What is the difference between getch() and getche()?

1 Answers   NSPL,






What does main () mean in c?

0 Answers  


1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

0 Answers  


if array a conatins 'n' elements and array b conatins 'n-1' elements.array b has all element which are present in array a but one element is missing in array b. find that element.

18 Answers   Parexel, Ram Infotech, Zycus Infotech,


Can anyone tell what is stack overflow? what precaution we should take?

1 Answers  


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

0 Answers  


Why is c so powerful?

0 Answers  


C,c++, Java is all are structural oriented or procedure oriented language..?

6 Answers  


Categories