CGI Interview Question

Puzzles, Simple programs in C or any other preferred language