Your mission
Read the stream f to its end and report how many newlines, words and bytes it holds.
See it in action
stream_count on a stream holding "hello world"lines=0 words=2 bytes=11stream_count on a stream holding "one two\nthree\n"lines=2 words=3 bytes=14stream_count on an empty streamlines=0 words=0 bytes=0
Your checklist
Constraints
- Expected file
stream_count.c- Allowed functions
fgetcgetc- Allowed headers
<stdio.h>declares FILE, fgetc, getc and EOF
