Pergunta de entrevista da empresa HCLTech

1. solve very common c++ proboems