we know getc() could be a function or a macro , please take example by code for each one
getc() is one of the inbuilt functions which is used to reads the characters of the file.
getc() can be used in macro than a function.
It returns the next character of the file and it also returns end of file ( EOF).
Refer the below code using getc():
Get Answers For Free
Most questions answered within 1 hours.