What is file pointer in c programming language?
The
FILE
pointer is a struct data type defined in the standard library stdio.h
. This type serves as a reference to either a stream or a null value. Its definition within stdio.h
is as follows:
typedef struct{
short level;
unsigned flags;
char fd;
unsigned char hold;
short bsize;
unsigned char *buffer, *curp;
unsigned istemp;
short token;
} FILE;
Examples:
To get the examples go through the following link:
If you have any quires in file pointers, you can ask here.
No comments:
Post a Comment