#include<stdio.h>
void main()
{
int x, y, z;
x=y=z=1;
z = (++x || ++y && ++z); //statement 1
printf("x = %d\ty = %d\tz = %d",x,y,z);
}
need help in understanding why y comes 1 instead of 2 according to me from statement 1.
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.