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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!