Q:

what is the type of the return value of binary operators in C

can anyone tell me the type of value to which e.g. a==b (or in general any if-statement) evaluates in C? Probably char or int?

A:

In C language, result of Boolean/relational expression is non-zero (true) or zero (false), which is a signed int type. 

