c) How do you differentiate between overloading the prefix and postfix increments? Can you
overload the operator+ for short integers? Is it legal in C++ to overload operator++ so
that it decrements a value in your class?
c) How do you differentiate between overloading the prefix and postfix increments? Can you
overload the operator+ for short integers? Is it legal in C++ to overload operator++ so
that it decrements a value in your class?
Leave a Reply
You must be logged in to post a comment.