int: (4 bytes); - INT_MAX: 2147483647 (10^9) ; - INT_MAX: 4294967295 (10^9)
long, long long, long long int (8 bytes);
- LONG_MAX, LONG_LONG_MAX = 9223372036854775807 (10^18) ; - ULONG_LONG_MAX = 18446744073709551615 (10^19)
double: (8 bytes)
long double: (16 bytes)
NOTE: types' sizes differs from compiler to compiler compiler used: g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Any numeric type T:
std::numeric_limits<T>::max()