Pure Programmer
Blue Matrix


Cluster Map

Project: Boolean Representation

Write a program that outputs each of the Boolean literals, one per line. Do they print as 0 and 1 or something else?

Output
$ g++ -std=c++17 BooleansTest.cpp -o BooleansTest -lfmt $ ./BooleansTest True is 1 False is 0

Solution