Problem:
Question 1: The selection sort routine in this course is used to sort an array containing the following values. Show the array contents after each pass of the sort routine.
8 6 9 5 2 7
Question 2: Write a function that will store the odd numbers (1, 3, 5, etc) into an array. The array and its size are passed in. The function prototype is shown below.
void oddArray (int values [], int size);
Show the code, demonstrate it works properly and describe what it is doing.