Streams
There are three special file pointers which are defined in stdio.h:
stdin
refers to standard input from the keyboardstdout
refers to standard output on the screenstderr
refers to the standard error device (usually the screen)
Knowing this information, we can use fprintf just like we use printf():
is equivalent to: