printf(),fprintf(),sprintf() in C

printf(): writes the output to stdout,standard output device.
             int printf(const char *format, ...);

sprintf(): writes the output to character string in memory.
            int sprintf(char *str, const char *format, ...);

fprintf(): writes the output to the given output stream.
            int fprintf (FILE *stream, const char *format, ...);

No comments:

Post a Comment