Pregunta de entrevista de Capgemini

code for matrix question in c++