main()
{
int x=10 ,y=20,z=5 ,i;
i=x<y<z;
printf("%d",i);
}

output :1
why the output is 1 ,how x ,y ,z are gettting compared