Fermilab interview question

Some tricky questions about programming languages.