Accenture interview question

Questions related to C++