✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
We want to write a function swap that exchanges the values of two integer variables a and b. Among the following propositions, which one is the correct implementation of the swap function?