Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

C++ Booleans

bool isCodingFun = true;
bool isFishTasty = false;
cout << isCodingFun;  // Outputs 1 (true)
cout << isFishTasty;  // Outputs 0 (false)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Booleans
ADD COMMENT
Topic
Name
8+2 =