Pergunta de entrevista da empresa Valeo

Debugging question: The interviewer showed me a code written in C and asked about the output