C++ Fundamentals Data Types
Variables, as we’ve seen, store information that the programmer can then later call up, and manipulate if required. Variables are simply reserved memory locations that store the values the programmer assigns, depending on the data type used. THE VALUE OF DATA
There are many different data types available for the programmer in C++, such as an integer, floating point, Boolean, character and so on. It’s widely accepted that there are seven basic data types, often called Primitive Built-in Types; however, you can create your own data types should the need ever arise within your code.
The seven basic data types are:
These basic types can also be extended using the following modifiers: Long, Short, Signed and Unsigned. Basically this means the modifiers can expand the minimum…