Pergunta de entrevista da empresa Sigma Designs

Find errors in few sample programs.