I have a question related to Pre vs. Post-Increment Operations in Programming.
Having read the C++ for Programmers Article related to Operators,
I learned that Pre and Post-Increment operators behave differently in nature.
The code snippet below does not follow the concepts discussed in the Pre vs. Post-Increment section in the Operators Article (C++ for Programmers):
Operators Article (C++ for Programmers)
Please explain why do I get these outputs, and if there’s any misunderstanding from me with learning the concepts, then also let me know.