cout: output INT_MIN, INT_MAX and UINT
#include <iostream>
#include <climits> // Definition of INT_MIN, ...
using namespace std;
int main()
{
cout << "Range of types int and unsigned int" << endl;
cout << "Type Minimum Maximum" << endl;
cout << "int" << INT_MIN << " " << INT_MAX << endl;
cout << "unsigned int" << " 0 " << UINT_MAX << endl;
return 0;
}
Related examples in the same category