C++ Boolean Data Types

C++ Boolean Data Types


Define:
C++ Boolean Data Types

A Boolean data type is denoted by the bool keyword. You can only take the values true or false. The bool type takes one byte and stores a value of true (1) or false (o)

Example

Output :