Tech Mahindra interview question

Self intro, basic basic C, C++