Wednesday, October 15, 2008

What is the output?

void main()
{
int a=10,b=20;
char x=1,y=0;
if(a,b,x,y)
{
printf("EXAM");
}
}

a) XAM is printed
b) EXAM is printed
c) Compiler Error
d) Nothing is printed

No comments: