What are the definitions of the ``Boolean'' values true and false in C?

False is always represented by a zero value. Any nonzero value is considered true. The built-in operators <, <=, >, >=, ==, !=, &&, ||, and ! always generate 0 for false and 1 for true.

No comments:

Post a Comment