How to print bool in C++? | Sololearn: Learn to code for FREE!

+2

How to print bool in C++?

c++

6/5/2017 11:05:54 PM

Hyde

2 Answers

New Answer

+8

cout << "bool"; or bool abool = true; cout << abool; Not sure which one you wanted 😝

+4

Thanku..