Question: are there booleans in c?
Answer: Standard C (since C99) provides a boolean type, called _Bool . By including the header stdbool. h , one can use the more intuitive name bool and the constants true and false . ... Objective-C also has a separate Boolean data type BOOL , with possible values being YES or NO , equivalents of true and false respectively.