Answer

In both cases, C complains that it doesn't know anything about the function log2. In the first case, it is because the definition occurs after the use. In the second case, it is because log2 is never defined.

Return to lesson.