Skip to the task
Layout
Back to classic view

You are looking at: Practice test 2. Your place is still lesson 4, task 1: Style.

CHECKTask 3 of 17 · step 2: Questions 1–6

static in another file

daytime.c has static int nearly_equal(...), main.c declares and calls it. Why doesn't the program link?

Stuck?

undefined reference to `nearly_equal': a static function is visible only in its own file. (Topic 7)