Question: Code in C Exercise 3 Call by Reference: Swap Numbers In main ask the user to enter two numbers. Pass the two numbers entered as
Code in C

Exercise 3 Call by Reference: Swap Numbers In main ask the user to enter two numbers. Pass the two numbers entered as parameters onto function void mySwap. In void mySwap swap the two numbers (mySwap returns no values to main). Print the swapped numbers from within main function. Note: Use only Call-by-reference to pass values to mySwap; do not use any global variables or the built-in swap function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
