In the C/C programming language, int represents an integer variable, which is a data type used to define an integer variable. It has different sizes in different compilation environments and different compilations. The operating environments vary in size.
Integer variables include the following types:
1. Signed basic integer type, keyword: [signed] int, value range: -2 147 483 648 ~ 2 147 483 647 , Bytes: 4
2, Unsigned basic integer type, Keyword: unsigned [int], Value range: 0 ~ 4 294 967 295, Bytes: 4
3, Yes Signed short integer, keyword: [signed] short [int], value range: -32768 ~ 32767, bytes: 2
4, unsigned short integer, keyword: unsigned long [int] , Value range: 0 ~ 65535, Bytes: 2
5, Signed long integer, Keyword: [signed] long [int], Value range: -2 147 483 648 ~ 2 147 483 647 , Bytes: 4
6, Unsigned long integer, Keyword: unsigned long [int], Value range: 0 ~ 4 294 967 295, Bytes: 4
Recommended: "c Language Tutorial"
The above is the detailed content of What does int mean in c language. For more information, please follow other related articles on the PHP Chinese website!