Boolean data type. C does not have the traditional view of
logical comparison. Actually, data types in C are listed under three main categories:
(a) Primary data type
(b) Derived data type
(c) User-defined data type
Primary Data Types All C compilers accept the following fundamental data types:
(a) Integer (i.e., int)
(b) Character (i.e., char)
(c) Floating point (i.e., float)
(d) Double precision floating point (i.e., double)
(e) Void (i.e., void)
The data type int is used to define integers (e.g., int count;). Integers are whole numbers with a
machine-dependent range of values.