Question: Write a function to sort strings in dictionary order. Example: Giving 'C programming', 'Java', 'CIS-1007', 'University'. The output in dictionary order should be: C programming
Write a function to sort strings in dictionary order.
Example: Giving 'C programming', 'Java', 'CIS-1007', 'University'.
The output in dictionary order should be:
"C programming"
"CIS-1007"
"Java"
"University"
Note: You might ask the user to give the number of the input strings. You might need to use multidimensional arrays to store these strings.
Note: You are NOT ALLOWED to use any built-in library EXCEPT stdio.h.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
