Infosys interview question

It was basic questions as I was a fresher ,c, Java and c++ difference