#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

main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

0 Answers   Wilco,


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


What is unary operator?

0 Answers  


Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }

3 Answers   IBM,


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

0 Answers  






Toggle nth bit in a given integer - num

5 Answers   Qualcomm,


What are near, far and huge pointers?

0 Answers   Hexaware, Thomson Reuters, Virtusa,


#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


What is derived datatype in c?

0 Answers  


What is the difference between far and near in c?

0 Answers  


differentiate built-in functions and user – defined functions.

0 Answers  


Are the variables argc and argv are always local to main?

0 Answers  


Categories