Question: Programming in C language to be run on code blocks on Windows 2. (Pointers and Functions) Write a void function called swap that accepts as

Programming in C language to be run on code blocks on Windows
2. (Pointers and Functions) Write a void function called swap that accepts as inputs two integer variables and swaps their values. For example, if I had a variable a 5 and b = 10, after calling swap with variables a and b; a = 10 and b Note this will require writing the function such that it uses pointers since we want to change the original variables and return nothing (void)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
