I need a simple c program which will read a text. txt file

profileTopsolutions
 (Not rated)
 (Not rated)
Chat

I need a simple c program which will read a text. txt file(file may has many lines of sentences, or words) and program will read this file and do dictionary sort(lexicographical sort) and print result on screen. Such as;
Text file:
Adam
John
John Kulk
Adame

output will be
Adam
Adame
John
John Kulk

    • 12 years ago
    Solution
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      reversefile_function.c
    • attachment
      lexicographicalsort.zip