Saved Bookmarks
| 1. |
What is reading files? |
|
Answer» Reading from files: To read from a file, ‘C’ provides the following functions: To read data from file, it should exist. fscanf (): This function is used to read data from a file. It is very similar to scanf () function. It scans a series of input fields (one at a time). Syntax: fscanf () file * stream, “format specifiers” , “Variables”). |
|