Pergunta de entrevista da empresa LED Smart

Two technical questions, one on C and one on circuits