The value 0 will be printed.
True in C++ equals 1 and false equals 0.
If you wish to print false instead of zero, set the boolalpha format flag for the str stream.
When the boolalpha format flag is set, bool values are inserted/extracted instead of integral values by their textual representation: true or false.
#include <iostream>
int main()
{
std::cout << std::boolalpha << false << std::endl;
}
output:
false