If we have the boolean bool falsetto = false
. What will the code: cout << falsetto
output?
Nice one. Remember, true
values output 1
and false
outputs 0
.
We can use boolalpha
before outputting to convert the boolean value to true
or false
.
Close but nope! Remember, true
values output 1
and false
outputs 0
.
We can use boolalpha
before outputting to convert the boolean value to true
or false
.