What is the importance of post increment and pre increment in C++? 213 viewsJanuary 1, 2024 Question100.55K October 26, 2022 0 Comments What is the importance of post increment and pre increment in C++? In: 7 7 Answers ActiveNewestOldest Anonymous Posted October 26, 2022 0 Comments There’s no importance, it’s just programming logic and short hand for <operation> c = c + 1; //c++; It’s all the same. If you want to pre-increment a variable it’s just doing the c = c + 1; <operation> //++c; Before the operation. You are viewing 1 out of 7 answers, click here to view all answers. Register or Login
Latest Answers