Prefix and Postfix operator's necessity
- by Karthi prime
What is the necessity of both prefix and postfix increment operators? Is not one enough?
To the point, there exists like a similar while/do-while necessity problem, yet, there in no so much confusion (in understanding and usage) in having them, but with having both prefix and postfix (like priority of these operators, their association, usage, working).
And do anyone been through a situation where you saidd "Hey, I am going to use postfix increment. Its useful here"