From the course: Advanced C Programming: Optimize Performance and Efficiency

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

Challenge: Sort a string

Challenge: Sort a string

(upbeat music) - [Instructor] In the C language, sorting is something you do with an array. A string is a character array. So your challenge is to write code that asks the user to type a string of text. You then sort that string A to Z and display the sorted results. Give yourself about 15 minutes to complete this challenge.

Contents