
Prelab Activities
Review
Simple Data Types
The built-in, simple data types in C++ are integral types, enumeration types, and
floating types. The integral types are char, short, int, long, and bool. The floating
types are float, double, and long double. All of these data types are called simple
or atomic because they are composed of single, indivisible values.
The range of values that can be stored in a simple, integral data type depends on
the number of bytes of storage assigned to the data type. C++ provides a unary
operator, sizeof, that returns the number of bytes in its operand. C++ does not
specify the number of bytes for any data type except