Base type: integer, character, real (floating point [single precision, double]), enum-type
Pointer type
Constructed type: array type, struct type, common body type
Empty type
Explain:
Basic Data Type : The main feature of the basic data type is that its value cannot be decomposed into other types. In other words, the basic data type is self-explanatory.
construct data type: Constructs a data type that is defined by a constructed method, based on one or more defined data types. That is, a value of a constructed type can be decomposed into several "members" or "elements". Each "member" is either a basic data type or another constructed type.
pointer type : A pointer is a special, yet important, data type. Its value is used to represent the address in the memory of a variable. Although the value of a pointer variable is similar to an integer, this is a completely different amount of two types and cannot be confused.
NULL type : When calling a function value, a function value should normally be returned to the caller. The returned function value is of a certain data type, and should be given in the function definition and function description, for example, in the definition of the MAX function in an example, the function head is: int max (int a,int b), where the "int" type specifier means that the return value of the function is an integral type. However, there are also a class of functions that, when called, do not need to return a function value to the caller, which can be defined as "null type". Its type specifier is void. The following functions are also described in detail.
The basic data type "C + +"