Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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
5+8 =