Jobs & News V2.02

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

Author:
Date: 2018/1/9 19:00:00
Summary: 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 ++. - Rank: 4082 - Votes: 34 - Views: 2428 - Updated: 2018-01-10
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 ++. - Rank: 4082 - Votes: 34 - Views: 2428 - Updated: 2018-01-10
Jobs & News V2.02
URL: http://www.fyicenter.com/modules/planet/view.article.php?c/420507/p