In C, the boolean type of an expression is an `int'. A variable or expression evaluating to 0 (zero) is FALSE and everything else (!= 0) is TRUE. Instead of using an int (usually 16 or 32 bits), it may be better to use an 8-bit type to hold a boolean result. For ANSI-C compliance, the basic boolean types are declared in stdtypes.h:
typedef int Bool;
#define TRUE 1
#define FALSE 0
Using typedef Byte Bool_8 from stdtypes.h ( Byte is an unsigned 8-bit data type also declared in stdtypes.h) reduces memory usage and improves code density.