Question: Write the function swap() in C that swaps 2 variables, given the following prototype: void swap(int *x, int *y);
Write the function swap() in C that swaps 2 variables, given the following prototype: void swap(int *x, int *y);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
