Question: in c language & Write a function that counts the characters and lines in a file. A character can be any character including letter, digit,

in c language
& Write a function that counts the characters and lines in a file. A character can be any character including letter, digit, symbol, blank, tab, newline, etc. A line is a sequence of characters terminated by newline character or end of file character. The function prototype is void file_count (char *file, int *characters, int lines). The function takes the file name as the input parameter and puts the counts of characters and lines into the output parameters. 1 t artadt file "The function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
