CptS/EE 455
Spring 2002
Pre-Quiz (not graded)
Your Name:
These three questions cover basic material that is prerequisite to success in this class. If the concepts are unfamiliar to you, you should seriously consider taking a different class. If your skills in this area are rusty, please review the material from your previous courses so that these basics do not stand in your way of success in this class.
Write a C program to copy the standard input to the
standard output, exiting when end of file is reached.
What commands would you use to compile and run the
program you just wrote? (Assume that the source file name is copy.c
and you want the executable file to be named copy)
Write a Makefile that produces copy
from copy.c.