Arithmetic types

Arithmetic types

(See also type for type system overview and the list of type-related utilities that are provided by the C library).

Boolean type

  • _Bool (also accessible as the macro bool) - type, capable of holding one of the two values: 1 and 0 (also accessible as the macros true and false).

Note that conversion to _Bool does not work the same as conversion to other integer