KPIT Technologies interview question

Basic C++ programming and oops concepts