Overloading Prefix and Postfix Forms of ++ and —

Since the operators ++ and — can have two definitions (one for prefix, other for postfix), we should have two ways to overload them.

These overloaded fns. are differentiated on the basis of argumnents they take. Here

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: