CP CVDT Q29

  • Option : C
  • Explanation : Swapping two integer variables means exchanging their values. If s initially contains 10 and b contains 20, after swapping, s contains 20 and b contains 10. A temporary variable is one common way to perform the exchange.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *