Axtria Interview Question

ques. from c++,java,guess estimates puzzles