The maximum value of "unsigned long int" in c++
Another way to find out would be:
unsigned long int i = (unsigned long int) -1;
printf("%lu\n", i);
The obvious way would be to use std::numeric_limits<unsigned long>::max();
Another way to find out would be:
unsigned long int i = (unsigned long int) -1;
printf("%lu\n", i);
The obvious way would be to use std::numeric_limits<unsigned long>::max();