+ 17
Logical operators are operators used to perform operations on boolean variables. E.g. && (AND), || (OR), ! (NOT)
bool x = true;
bool y = false;
cout << x || y; // outputs 1
cout << x && y; // outputs 0
cout << !x; // outputs 0