Pergunta de entrevista da empresa Cofense

How do you fix an issue where a function is called before it is defined?