result of operator

please explain what is going here step by step

#include <stdio.h>
void main()
{
int a=2,b=1,c,d;
c=a<b;
d=(a>b) && (c<b);
printf ("c=%d, d=%d\n", c,d);
return0;
}
Topic archived. No new replies allowed.