Infogain Interview Question

C, c++