is a synonym
for short int
. It is a fundamental type
, meaning that all C++ implementations allow you to declare variables of type short
. They are typically used in places where a normal int
would be overkill in terms of memory usage.
It is guaranteed to have at least 16 bits. It is guaranteed to be bigger than a bool, and smaller than an int and a long int.