Sorting characters

Report a typo

Given the following array of characters:

{ 'z', 'e', 'l', 'k', 'a', 'x' }

We sort the array using the selection sort algorithm in the ascending order.

Output the array elements after the third step.

The output format:

z e l k a x
Enter a short text
___

Create a free account to access the full topic