CGI interview question

1. Deadlock 2. Simple C Programs