What is the difference between “long”, “long long”, “long int”, and “long long int” in C++?
long and long int are identical. So are long long and long long int. In both cases, the int is optional. As to the difference between the two sets, the C++ standard mandates minimum ranges for each, and that long long is at least as wide as long. The controlling parts of the standard (C++11, … Read more