

MCQOPTIONS
Saved Bookmarks
1. |
If s and b are integers then purpose of the following program fragment is to b = s + b ; s = b - s ; b = b - s ; |
A. | transfer the contents of s to b |
B. | transfer the content of b to s |
C. | exchange (swap) the contents of s and b |
D. | negate the contents of s and b |
Answer» D. negate the contents of s and b | |