Learn C Programming

Lesson 6 of 8 · Undefined Behaviour, Debugging and Reading Real C

Module 16 · Undefined Behaviour, Debugging and Reading Real C

Problems: Find the Bug

ProProblems

Ten problems, graded against hidden tests. Eight of them you met inside the lessons of this module. Two are new, and both are medium: feof-average and macro-zero.

Pro lesson

This one goes deeper

It is included with this track and with Learn Pro. Every question on the Skill Test can be answered from the free lessons, so this is depth and never a gate on the certificate.

What is inside Problems: Find the Bug

  1. The judge sees your output, and nothing else
  2. Reading a symptom
  3. Reproduce, shrink and halve before you touch the code
  4. Fix the cause, not the symptom

Module test

Ten questions on this module. Pass at 70%, and you can take it as many times as you like.

Take the module test