#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 / chinnu

MAX=3

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More C Interview Questions

a 'c' program to tell that the set of three coordinates lie on a same line

3 Answers   Persistent,


logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............

2 Answers   Infosys,


What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }

2 Answers  


C passes By value or By reference?

5 Answers   Geometric Software, Infosys,


what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....

1 Answers   TCS,


To find whether a number is even or odd without using any conditional operator??

12 Answers   College School Exams Tests, IBM,


give an example of type casting by a simple c program

2 Answers   TCS,


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

0 Answers   L&T,


What is variables in c?

0 Answers  


I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?

1 Answers  


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

0 Answers  


What is spark map function?

0 Answers  


Categories