What is output of this Code?..
#include<stdio.h>
#include<conio.h>
int main()
{
int x, y, z;
x=y=z=1;
z = ++x || ++y && ++z;
printf("x=%d, y=%d, z=%d\n", x, y, z);
getch();
return 0;
}
#include<stdio.h>
#include<conio.h>
int main()
{
int x, y, z;
x=y=z=1;
z = ++x || ++y && ++z;
printf("x=%d, y=%d, z=%d\n", x, y, z);
getch();
return 0;
}
No comments:
Post a Comment