Suppose that sum and num are int variables and sum = 5 and num = 10. After the statement sum += num executes, ____.

A. sum = 0
B. sum = 5
C. sum = 10
D. sum = 15

Answer: D

Computer Science & Information Technology

You might also like to view...

The Word Proofing dialog box displays the number of pages, words, characters, paragraphs, and lines

Indicate whether the statement is true or false

Computer Science & Information Technology

Custom ControlTips are a useful training tool when an individual is learning how to use the data entry form

Indicate whether the statement is true or false

Computer Science & Information Technology