Virtusa interview question

C c++ java