#include <iostream>
#include <string>
using namespace std;
int main()
{
bool a = 5; // 5 converted to true
int b = a; // b will store 1
bool c = 0; // converted to false
bool d = "hello"; // converted to true;
cout << d << endl; // prints 1 (NOT true)
// Printing with boolalpha
cout << boolalpha;
cout << "a = " << a << endl;
cout << "b = " << b << endl;
cout << "c = " << c << endl;
cout << "d = " << d << endl;
}