[It seems odd this doesn\'t exist, so apologies in advance if it\'s a duplicate]
I want to test for logical equality in C. In other words, I want to know whether tw
There is no (bool) in traditional c. True/False is handled using ints. You can check for boolean equality with
(bool)
int
a ? b : !b