In the program, we can see such content: file * stream;
Explanation:
The file Pointer Points to a file using a pointer variable in C language. This pointer is called a file pointer.
The file pointer can be used to perform various operations on the files it refers.
The general format of the definition instruction file pointer is:
File * pointer variable identifier;
The file should be written in uppercase. It is actually a structure defined by the system, which contains information such as the file name, File status, and current file location. You do not have to worry about the details of the file structure when writing the source program.
For example, file * FP indicates that FP is a pointer variable pointing to the file structure. You can use FP to find the structure variable that stores the information of a file, and then find the file according to the information provided by the structure variable, perform operations on files.
In general, FP is also called a pointer to a file.