Chapter 5 Quiz Starting Out With C++ 001

How do you use the increment and decrement operators in C++?

a. x++,  x--
b. x = x + 1, x = x -1
c. inc x, dec x
d. both a and b are acceptable
e.  answer a, c.  One is C language and the other is C++

No comments:

Post a Comment