Pregunta de entrevista de Daffodil International University

Time Complexity of a basic C++ code