#include #include using namespace std; int main() { bool b {true}; //or false cout << b << "\n"; cout << boolalpha << b << noboolalpha << "\n"; cout << "A bool occupies " << sizeof (bool) << " byte(s).\n\n"; return EXIT_SUCCESS; }