+ 2

How is work =

#include<stdio.h> int main() { int x=3,y,z; y=x=10; z=x<10; printf("x=%d y=%d z=%d\n",x,y,z); return 0; }

8th Feb 2018, 3:43 PM
VijaySharli
VijaySharli - avatar
1 Answer
+ 2
Don't know if I get the question, but if you want to know why z=0: "z = x<10" <=> "z=10<10" <=> "z = false" <=> "z=0"
8th Feb 2018, 3:58 PM
Alex
Alex - avatar