Write the definition of a subprogram interschimba that receives through two parameters, a and b, two pointers to integer values and swaps the values stored at the received addresses (so after the call, the value at address a is the original value from b and vice versa).
Then write a main program that reads from standard input a non-zero natural number n and then n integers separated by spaces or newlines. The program prints the numbers sorted in ascending order, separated by single spaces, on a single line. The sorting must be performed using exclusively calls to the subprogram interschimba to swap elements of the array.