We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

C Is Compiled

This Python code prints "starting" before it crashes:

print("starting")
func_that_doesnt_exist("uh oh")
print("finished")

But in C, it crashes before it can even run. If there's a problem, the compiler tells us before the program even starts.

Now... C doesn't tell us about all the possible problems (read: skill issues) that might arise in our program. But it does tell us about some of them.

Click to play video

Assignment

Run the code. Notice that the "starting..." message never prints.

Fix the bug by removing the nonexistent function call.