Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Maximum value of int type.
Maximum value of int type.
1 byte is a non-negative integer with a minimum value of 0 and a maximum value of 255.

For example:

Char type is adopted, and a non-negative integer is represented by one byte. The minimum value is 0, and the maximum value cannot be 128.

Char type indicates the range:-128~shu 127.

The range of unsigned character types is 0~255. -use this type, it will be fine.

Extended data:

Integer constants are expressed as decimal integers. For example, 199 1, 0,-123 are all integer constants. While 52.0 or 13 1.4 are not integer constants.

Integer? Variables are stored at the length closest to the compilation environment. For example, in a 32-bit compilation environment, Integer is 32 bits, and its range is between -2 15 and 2 15- 1.

The type declaration character of an integer in VB is a percent sign (%). Pascal is an integer. In c language, it is abbreviated as int.

Baidu encyclopedia-integer