The C++ standard only stipulates that int should be at least 16 bits and not shorter than short int. There is no requirement for its number of bits, which depends on how the compiler implements it. In fact, C++ does not require the specific length of all arithmetic types.
However, on most machines, most compilers implement int as 32 bits.