Have a look at echoer.c. It is quite a long program but this is due to the inclusion of a lot of form manipulation functions which will be present in every CGI script of this type. Aside from these, echoer.c only has a main() function which does the input echoing.
The steps in the execution of echoer.c are shown in:
Back to the Main Echoer Page