1.putchar(10) // print a feed line to the screen
2.The void exit( int status ) function
remarks: The exit function terminate the calling process. exit calls, in last-in-first-out(LIFO) order, the functions registered by atexit and _onexit, then flushes all file buffers before terminating the process .The status value is typically set to 0 indicate a normal exit and set to some other value to indicate an error.
3. The fread function returns the number of full items actually read, which may be less than count if an error or if the end of the file is encountered reaching count. Use the feof or ferrror function to distinguish a read error from an end-of-file condition. If size or count is 0, fread function return 0 and the buffer contents are unchanged.
4. int fgetc(FILE *stream)
Return value: fgetc return the character read as an int or return EOF to indicate an error or end of file.
Remarks: fgetc function reads a single character from the current position of a file, this is the file associated with stream. The function then increments the associate file pointer (if defined) to point to the next character. If the stream is at end of file,the end-of-file indicator for the stream is set.