Prefix and Postfix operator's necessity

Posted by Karthi prime on Stack Overflow See other posts from Stack Overflow or by Karthi prime
Published on 2013-07-02T16:45:58Z Indexed on 2013/07/02 17:05 UTC
Read the original article Hit count: 215

Filed under:

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"

© Stack Overflow or respective owner

Related posts about c