Next: if-else Up: Decisions Previous: Statements and blocks

True and false

C does not have pre-defined True and False values. Instead it treats integer 0 as false and anything else as true.



Next: if-else Up: Decisions Previous: Statements and blocks


maspjw@
Tue Sep 27 15:29:34 BST 1994