Writing File or fprintf() function:-
The fprintf() function is used to write set of characters into file. It sends formatted output to a stream.C fprintf function pass arguments according to the specified format to the file indicated by the stream. This function is implemented in file related programs for writing formatted data in any file.
Syntax:- fprintf(FILE *stream, const char *format, [--any arguments---]);
Example:-
Comments
Post a Comment