Pregunta de entrevista de Phison

Two program problems are written in C. Some extended problems with firmware development.