Frage im Vorstellungsgespräch bei Tata Consultancy Services

Basic c++ coding question Such as print a pattern