what is the max value an int can have in c++ code example
Example: maximum int c++
#include
int imin = std::numeric_limits::min(); // minimum value
int imax = std::numeric_limits::max(); // maximum value (2147483647)
#include
int imin = std::numeric_limits::min(); // minimum value
int imax = std::numeric_limits::max(); // maximum value (2147483647)