Hi ..
Well I have a strange code here which i am not usre have a clear
understanding.
I have compiled it on turbo C++3.0 compiler and Devc++ compiler ..
here is the code ..
int main(void)
{
int i=0;,j=10,k=20;
if(i,j,k)
printf("welcome");
else
printf(" Home");
return 0;
}
the output is welcome.
What i found out after a little experimenting is i,j,k taking
individually as expressions are evaluated .. where as k is used to
evaluate the if condition ....
Let me know if iam wrong ..