Skip to the task
Layout
Back to classic view

You are looking at lesson 11. Your place is still lesson 8, task 1: Memory.

CHECKTask 17 of 20 · step 6: Drills: check yourself

assert or an error code?

read_measurements(NULL, ...), a line abc in the file, read_measurements(..., max = 0, ...), a full disk. Where assert, where an error code?

Stuck?

NULL and max = 0 are programmer's bugs: assert. abc and a full disk are errors in the world: an error code.