Practical C Programming, 3rd Edition
| I l @ ve RuBoard |
| The bool type can hold the value true or false . For example: bool flag; /* Flag can be on or off */ flag = true; This type of variable is extremely useful when dealing with logic statements, as described in Chapter 6.
[4] Yes, C does have a bool type. See the C standard: ISO/IEC 9899:1999(E) section 7.16. |
| I l @ ve RuBoard |