Input n integers that are all unequal, save them in an array, and use a pointer to find the position of the smallest element and the next smallest element in the n numbers.
Input
Given n numbers
Output
Output position of smallest and next smallest number