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

Unlock the full course today

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

Challenge: Sort an array of structures

Challenge: Sort an array of structures

(upbeat music) - [Narrator] For this challenge, you are to write code that takes an array of structures and sorts them. You can use Exercise File 04-10_structarray3 as your starting point. And that's good because it contains the predefined array of structures. Add code that orders the days by temperature with the coldest temperatures first. Give yourself at least 15 minutes to complete this challenge.

Contents