Aristocrat interview question

c++ basic coding mcqs