Connecting Tech Pros Worldwide Forums | Help | Site Map

BOOL meaning and function?

Newbie
 
Join Date: Feb 2007
Posts: 12
#1: Mar 13 '07
What are the meaning and function for BOOL in C programming

sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#2: Mar 13 '07

re: BOOL meaning and function?


Quote:

Originally Posted by lavender

What are the meaning and function for BOOL in C programming

Bool is shorthand for boolean - which is binary value - 1,true or 0,false. The 1 or true and 0 or false can be used interchangeably since C/C++ compilers read true as any number other than zero and false as zero.
Reply


Similar C / C++ bytes