Search
Main Menu
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Who's Online
26 user(s) are online (16 user(s) are browsing Jobs & News)

Members: 0
Guests: 26

more...

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


Author: | Interview Q&A - FYIcenter.com
Date: Jan 09, 2018
Views: 43

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

URL: http://www.fyicenter.com/modules/planet/view.article.php?420507
Trackback: http://www.fyicenter.com/modules/planet/trackback.php?420507

Copyright (c) FYIcenter.com