Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What are the types of C++ variables?
What are the types of C++ variables?
There are three kinds of integers: short integer, integer and long integer.

There are three types of floating point: float, double and long double.

A boolean type: bool

There are two types of characters: char and wchar _ t.

Enumeration type enumeration

And custom types defined with struct, union and class.

Among them, integers can be divided into signed and unsigned.

In addition, each type can not only define variables, but also define corresponding pointers and multilevel pointers.