Quote:
four basic arithmetic type specifiers char, int, float and double, and the modifiers signed, unsigned, short, and long.
That's your lot. C only supports a very basic range of types, but does include
struct
so you can create more complex types yourself,
enum
which is really an integer-with-knobs-on, plus arrays and pointers which aren't really data types.
It's an old language: it's had
bool
added by C99, but that's a fake in reality that is effectively implemented via
#define
.