NTT DATA Interview Question

Basics of c c++ java logical reason