Arizona State University (ASU) CSE100 Principles Of Programming With C++ Midterm 1 Practice Exam

Question Number 5


What does the following code do: `int x = 5; x += 3;`?
✔ Correct Answer:
It adds 3 to x, so x becomes 8