Write a C program that reads a plain text file input.txt andwrites the output on the file hcode_input.txt. The output file willcontain a table with the columns; Symbol, Frequency and Huffman’sCode associated to the input file input.txt. The values ofinput.txt can be made up.
Syntax for execution of the program will be as follows;
#hcode input.txt
Solution