Write a program to read the data character by character from a file
Reading Data from file: fgetc() is a pre-defined function belongs to stdio.h fgetc() function read the input file character by character. On success, it reads the character and returns ASCII value of that character On …