What is the range of values for long long in C++?

In C++, long long is an integer data type commonly used to represent larger integer values, with a range typically from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 (-2^63 to 2^63-1). This range is approximately from -9.2 * 10^18 to 9.2 * 10^18. The storage size of long long may vary on different platforms, but its range is generally within the mentioned values.

bannerAds