Take a look at io1.c, which should be in your ``examples'' directory. This is a very simple program. See if you can figure out what it does, and then run it to check your answer.
Click here for the answer