Techmill interview question

C programming and Java