By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,418 Members | 1,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,418 IT Pros & Developers. It's quick & easy.

BOOL meaning and function?

P: 12
What are the meaning and function for BOOL in C programming
Mar 13 '07 #1
Share this Question
Share on Google+
1 Reply


sicarie
Expert Mod 2.5K+
P: 4,677
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.
Mar 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.