Question: Create a program that uses the strcmp() function to arrange strings alphabetically. Start by building an array of strings to hold the following three strings

Create a program that uses the strcmp() function to arrange strings alphabetically. Start by building an array of strings to hold the following three strings in the given order: {"Result", "dismal", "fees"} then write a findMin function that takes a char array and it's size as parameters return the "smallest" (alrphabaticall, precedes e.g. "cat" is smaller than "dog") string. use findMin to determine the "smallest" string in your array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
