Skip to content

Primitive data types

Mr. Daehn edited this page Aug 18, 2017 · 1 revision

There are basically four categories of primitive data types:

Category Available Data Types by Category
Boolean bool
Character char, signed char, unsigned char
Signed Integer short, int, long
Unsigned Integer unsigned short, unsigned, unsigned long
Floating Point float, double, long double

The primitive types shown in bold are what we’ll use for the most part.