i cant see my results

int result, a=0, b=1, c=5;

result = a > 5 || b < 5;

What value is stored in result?
Why don't you just print out the value?

https://ideone.com/DTlT1Q
If the source type is bool, the value false is converted to zero and the value true is converted to one.


Either a 1 or a 0. In this case, 1.
Topic archived. No new replies allowed.