NTT DATA interview question

Q. Basic C/C++ questions. Q. basic programs.