r/cpp_questions • u/[deleted] • Aug 31 '25
OPEN What is long long
I saw some c++ code and I noticed it has long long, I never knew you could put 2 primitives next to each other. What does this do?
1
Upvotes
r/cpp_questions • u/[deleted] • Aug 31 '25
I saw some c++ code and I noticed it has long long, I never knew you could put 2 primitives next to each other. What does this do?
35
u/ddxAidan Aug 31 '25
“Long long” is a primitive itself, but its exact meaning could depend. It is at least 64 bits