C – Fprintf

Home/C - Tutorial/C - File/C – Fprintf
C – Fprintf 2017-06-12T13:16:14+00:00

fprintf()

Declaration: fprintf (FILE *stream, const char *format,…..);

                The fprintf() function outputs the values of the arguments that makes up the argument list as specified in the format string to the stream pointed to by stream. The operations of the format control string and command are identical to those in printf().

The following program uses the fprintf() and fscanf() function to prepare the results of ‘n’ students.

Prev Next