Answers for "c++ get maximum value unsigned int"

C++
0

c++ get maximum value unsigned int

// C
#include <limits.h>
unsigned int max_unsigned_int_size = UINT_MAX;

// C++
#include <limits>
unsigned int max_unsigned_int_size = std::numeric_limits<unsigned int>::max();
Posted by: Guest on December-05-2020

Browse Popular Code Answers by Language