Chapter 5 Quiz Starting Out With C++ 004

What is the difference between prefix and postfix when dealing with statements that do more than incrementing or decrementing?

a. nothing.
b. prefix will increment/decrement BEFORE the variable is used.
c. postfix will increment/decrement BEFORE the variable is used.
d. both will preform the increment/decrement AFTER the variable is used

No comments:

Post a Comment