ocr: The macro getc()reads a character from the file pointed to by ifp and assigns the value to C.Ifthe value ofcis not EOF, then putc() is used to write C into the file pointed to by ofp.Ifcis a newline character, another newline character is Written process continues repeatedly until an IEOF is encountered. The macro getc() and putco) are definedin stdio.h.