Because the postfix increment operator returns objects by value and the prefix increment operator returns objects by reference:
a. Prefix increment has slightly more overhead than postfix increment.
b. The postfix increment operator returns the actual incremented object with its new value.
c. Objects returned by postfix increment cannot be used in larger expressions.
d. The postfix increment operator typically returns a temporary object that contains the original value of the object before the increment occurred.
d. The postfix increment operator typically returns a temporary object that contains the original value of the object before the increment occurred.
You might also like to view...
Consider the following statements: struct rectangleData{ double length; double width; double area; double perimeter;}; rectangleData bigRect;Which of the following statements is valid in C++?
A. cin >> bigRect.length >> width; B. cout
____ is JavaScript or anything that requires an ActiveX control.
A. Active content B. Active Mark C. Shockwave D. CODEC