Monday, 26 August 2013

if(a,b,c,d) how does this work?

if(a,b,c,d) how does this work?

void main()
{
int a=0, b=20;
char x=1, y=10;
if(a,b,x,y)
printf("bye");
}
How does "if" condition in the above code work work? Would the value of
"y" be only considered by "if"?

No comments:

Post a Comment