(The credit of the background image goes to https://flic.kr/p/aq7Voo)
For this mastery, I’m going to tell you all about the basic types and their use in C++.
To begin with, a type is a set of values and here you can see which ones are the most important:
-Int: The basic integer type.
-Floating point: Float, single precision; Double, double precision; Long double; extended precision.
-Character types: Signed char, unsigned char, char and wchar_t.
-Void: It’s an incomplete type that cannot be completed. Also, it is an empty set of values.
-Bool: A type that can holds one of two values; true or false.
You can thank http://en.cppreference.com/w/cpp/language/types for the info!!
MASTERY 07: Basic types and their use in C++ by Ana Gloria Angulo is licensed under a Creative Commons Attribution 4.0 International License.