Note: the number of bytes of int is determined by the compiler, and the ANSI standard defines int as 2 bytes.
The uint type is an unsigned 32-bit integer, accounting for 4 bytes, and the value range is 0 to 4,294,967,295.
BOOL type is int type, which is generally considered as 4 bytes, and the value is TRUE/FALSE/ERROR.
Extended data:
Sbyte is a signed 8-bit integer, accounting for 1 byte, and its value range is 128- 127.
The byte type is an unsigned integer with 16 bits, accounting for 2 bytes, and the value range is 0-255.
The short type is 16-bit signed integer, accounting for 2 bytes, and the value range is -32768 ~ 32767.
Ushort type is 16-bit unsigned integer, accounting for 2 bytes, and the value range is 0-65535.
Long is a 64-bit signed integer, accounting for 8 bytes, and its value range is 9223372036854775808 ~ 922337206854775807.
The Ulong type is a 64-bit unsigned integer, accounting for 8 bytes, with values ranging from 0 to18,446,744,073,709,5516 15.
The float type is a 32-bit single-precision real number, accounting for 4 bytes, and its value range is 3.4E+ 10-3.4E+ 10.
Double is a 64-bit real number, accounting for 8 bytes, and its value range is1.7e+1minus 308th power ~1.7e+1plus 308th power.