find the output

#include<stdio.h>
#include<conio.h>
void main()
{
int i=4,j=-1,k=0,w,x,y,z;
clrscr();
w=i||j||k;
x=i&&j&&k;
y=i||j&&k;
z=i&&j||k;
printf("\n%d\n%d\n%d\n%d",w,x,y,z);
getch();
}

http://ideone.com/y9Gdjw

Done! Now what, Sir?

1
0
1
1
2 Likes

Unless you say, why you post it we call it spam.

//