Infosys interview question

languages like c and java