C Program to Sort Elements in Lexicographical Order (Dictionary Order)

This program sorts the 5 strings entered by the user in the lexicographical order (dictionary order).

This program takes 5 words (strings) from the user and sorts them in lexicographical order.

Example: Sort strings in the dictionary in order