bool

suggest change

An integer type whose value can be either true or false.

bool is_even(int x) {
    return x%2 == 0;
}
const bool b = is_even(47); // false

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents