CGI interview question

Puzzles, Simple programs in C or any other preferred language