♦ C Booleans
♣ About C Booleans
Boolean data type is used to store true/false.Boolean data type is extensively used in flow-control.
♣ Example1: C Booleans
In this example, the Boolean data type is illustrated.Note that if Boolean were to be represented as an integer, then true would correspond to 1 and false would correspond to 0.
Example
Input:
Output: