Question: Task 1 : ( Swap two values ) Write a function that receives two integer numbers a . b as arguments. swap them and returns
Task : Swap two valuesWrite a function that receives two integer numbers a b as arguments. swap them and returns them through the same two arguments. In other words, after returning from the function, b should contain value of a and a should contain the value of b
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
