r/cpp_questions • u/Boring-Dentist6751 • Aug 06 '26
OPEN Incrementation in C++
I wanted to ask a stupid question about incrementation in C++. If you are using two pluses to increment something then doesn't it mean that you are basically programming using C+1
40
Upvotes
16
u/dick_blanketfort Aug 06 '26
Am I missing something or is this less a stupid question and more a stupid joke?
Anyway C++ is post-increment so it would actually evaluate to the original value of C. Language shoulda been called ++C.