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 : C Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |