Which one of the following statements is TRUE
in regard to overloading the ++ operator?

Q

Which one of the following statements is TRUE
in regard to overloading the ++ operator?
1 You cannot define a post-increment operator.
2 You cannot define a pre-increment operator
3 You cannot define both a pre-increment
and post increment operator for a class.
4 You must use a dummy parameter to
define a post increment operator.
5 You should always create a pre-increment
operator when overloading ++.

✍: Guest

A
(This question has not been answered yet. If you know the answer, please share it in a comment below.)

2018-01-10, 8420👍, 1💬