#include using namespace std; int main (void) { int fred(0); cout << "sizeof(int) = " << sizeof(int) << endl; cout << INT_MAX + 1 << endl; cout << "-------------------" << endl; cout << INT_MAX << endl; int k(INT_MAX); cout << k+1 << endl; unsigned int u(INT_MAX); cout << u+1 << endl; unsigned int w(UINT_MAX); cout << w+1 << endl; cout << LONG_MAX << endl; long a(LONG_MAX); cout << a+1 << endl; unsigned long b(ULONG_MAX); cout << b+1 << endl; cout << LONG_LONG_MAX << endl; long long c(LONG_LONG_MAX); cout << "sizeof (long long) = " << sizeof(long long) << endl; cout << c+1 << endl; unsigned long long d(ULONG_LONG_MAX); cout << d+1 << endl; }