Write a function that swaps two integers using pointers using the following function prototype header. void swap(int *num, *num2); { ….. }…

Write a function that swaps two integers using pointers using the following function prototype header. void swap(int *num, *num2); { ….. }

Assignment Solutions