Top

Discussion

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

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment