I found this question in many interviews and my teacher asked me the same the main doubt was that if I include <stdbool.h> in C99 standard will that evaluate this as (true)<c or (false)>c. Need a more clear answer than the linked post --> Usage of greater than, less than operators .
How a<b<c or a>b>c are evaluated in C
for example in the following code.
# include<stdbool.h>
int main(void){
int a = 1,b=2,c=3;
if(a<b<c)
printf("a great b great c");
}
thank you in advance.