What data type is int?
Int is a data type and stands for integer type.

Use computer programming languages (C, C++, C#, Java, etc. ), which is an identifier used to define an integer variable. In an ordinary computer, int occupies 4 bytes and 32 bits. In addition to int types, there are short and longlong long types that can represent integers.

Int occupied bytes:

In a general computer, int occupies 4 bytes and 32 bits, and the data range is-2147483648 ~ 2147483647 [-231~ 231].

In the previous microcomputer, int occupied 2 bytes, 16 bits, and the data range was-32768 ~ 32767 [-215 ~ 215-1].

In addition to int types, there are short, long and long long types that can represent integers. Unsigned int is an unsigned integer with the data range of [0 ~ 2 32-1].