Advertisement
dequone

sizes checkup

Mar 23rd, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <limits>
  2.  
  3. int main(){
  4.                                                                 // test6 ans = 2147170000
  5.     std::cout << std::numeric_limits<int>::max() << "\n";       // 2147483647
  6.     std::cout << std::numeric_limits<size_t>::max() << "\n";    // 18446744073709551615
  7.    
  8.     return 0;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement