how to print with the bool value in cpp
#include#include int main() { std::cout< Here is what the above code is Doing:
1. We are printing the value of false.
2. We are setting the boolalpha flag.
3. We are printing the value of false again.The output of the above code is:
0
false