Add to Chrome
β The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the primary purpose of a temporary variable (often called temp) when swapping two variables A and B?
To hold the value of A so it isnβt lost when B is overwritten into A
To store the sum of A and B
To compare the values of A and B
To increase the memory usage of the program
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!