Broadridge interview question

c cpp java basics