size of int

The size of an int in C++ is implementation-defined, meaning it can vary depending on the compiler and the system. However, it is commonly defined as 4 bytes on most systems, which corresponds to 32 bits. This can store integer values in the range of -2,147,483,648 to 2,147,483,647.