Integer data is numerical data with no decimal part, which is represented by the letter I. Integer data is only used to represent integers and is stored in binary form.
The binary bit length of short integers is 16, and that of long integers is 32 bits. That is, a long integer can represent an integer with more digits. The integer range that short integers can represent is -32768~32767.
Long integer is-2147483648 ~ 2147483647. For example, there is a number 32780, which can only be represented by a long integer, not a short integer.
Long integer is a representation of data type in programming, usually represented by long. The range of signed 64-bit integer of Long is -2 63-2 63- 1 int 64; the 64-bit integer of unsigned long is 0-2 64- 1 uint64.
Integer is a basic technical term in computer. Integer values can be specified with decimal, hexadecimal, or octal symbols and can start with an optional symbol (-or+). It is an intelligent calculation method.
Int is the basic integer type of C language, which can meet our needs of dealing with general data. C language also provides four keywords that can modify int: short, long, signed and unsigned. Using these four keywords, the C language standard defines the following integer types:
Short int (short), like int, is a signed integer.
Long int (short for long), signed integer?
Long long int (abbreviation: Long long), a type added by C99 standard, is a signed integer.
Unsigned int (abbreviation: unsigned), an unsigned integer, cannot represent a negative number.
Unsigned long int (abbreviation: unsigned long), an unsigned integer, cannot represent a negative number.
Unsigned short int (abbreviation: unsigned short), an unsigned integer, cannot represent a negative number.
Unsigned long long int (abbreviation: unsigned long int), type plus C99, unsigned integer.
By default, all integer types that are not marked unsigned are signed integers.
References:
Baidu encyclopedia-integer entry