Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What number does this 16 \32-bit integer in C++Primer Plus refer to? Please give an example.
What number does this 16 \32-bit integer in C++Primer Plus refer to? Please give an example.
The 16 bit in c/c++ traditionally refers to short int short integer, occupying 2 bytes. The front can be unsigned and signed, and the types under the new standard are int 16_t and uint16 _ t _ t.

The 32 bits in c/c++ traditionally refer to long int, occupying 4 bytes. The front can be unsigned and signed, and the types under the new standard are int32_t and uint32 _ t.