+ 1

what is the maximum Integer that can be stored in long long?

https://code.sololearn.com/crTcEfuCzS3f/?ref=app

18th Jul 2021, 1:11 PM
CodeSmith
CodeSmith - avatar
2 Réponses
+ 5
Add limits header #include <limits> std::cout << std::numeric_limits<long long>::min(); // min value std::cout << std::numeric_limits<long long>::max(); // max value You can replace `long long` with other numeric type, including floating point types (float, double, long double) to get similar result with respect to the type.
18th Jul 2021, 1:28 PM
Ipang