<Tr> <Td> fputc putc </Td> <Td> fputwc putwc </Td> <Td> Writes a byte / wchar_t to a file stream </Td> </Tr> <Tr> <Td> fputs </Td> <Td> fputws </Td> <Td> Writes a byte / wchar_t string to a file stream </Td> </Tr> <Tr> <Td> getchar </Td> <Td> getwchar </Td> <Td> Reads a byte / wchar_t from stdin </Td> </Tr> <Tr> <Td> gets </Td> <Td> N / A </Td> <Td> Reads a byte string from stdin until a newline or end of file is encountered (deprecated in C99, removed from C11) </Td> </Tr>

Input and output concept of a file in c