Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <limits>
- using namespace std;
- int main()
- {
- cout << "int type\n";
- cout << "--------\n";
- cout << " Size: " << sizeof(int) << " bytes\n";
- cout << " Max: " << numeric_limits<int>::max() << '\n';
- cout << " Min: " << numeric_limits<int>::min() << '\n';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement