Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ boolean

bool isCodingFun = true;
bool isFishTasty = false;
cout << isCodingFun;  // Outputs 1 (true)
cout << isFishTasty;  // Outputs 0 (false)

//credit to w3schools.com
 
PREVIOUS NEXT
Tagged: #boolean
ADD COMMENT
Topic
Name
9+8 =