#include #include using namespace std; //using MyIntTypeT = unsigned long long int; using MyIntTypeT = short; int main() { MyIntTypeT i; cout << "An it is " << sizeof(i) << " bytes." << endl; cout << "But in modern c++ the smallest is " << numeric_limits::min() <::max() << endl; cout << endl; i = numeric_limits::max(); cout << "i = " << i << endl; i = i + 1; cout << "After adding 1, i = " << i << endl; cout << endl; i = numeric_limits::min(); cout << "Setting I to be min, i = " << i << endl; i = i - 1; cout << "After subtracting 1, i = " << i << endl; cout << endl; return 0; }