C++ Boolean Expressions

Boolean Expression

A Boolean expression returns a boolean value, which is either 1 (true) or 0 (false).

This is useful for building logic and finding answers.

You can use a comparison operator, such as the greater than (>) operator, to find out if an expression (or variable) is true or false : Continue reading C++ Boolean Expressions