gcc
Enter the total number of array elements: Enter the array elements: The sorted array is: 2 3 7 8 9