Learn C Programming

Lesson 5 of 8 ¡ Undefined Behaviour, Debugging and Reading Real C

Module 16 ¡ Undefined Behaviour, Debugging and Reading Real C

Style, Warnings and Writing C That Others Trust

ProReading

Bob's marks report has worked all term. Every Friday his teacher runs it, and it prints the right numbers.

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 Style, Warnings and Writing C That Others Trust

  1. Warnings, warning flags and -Werror
  2. The warning set, one flag at a time
  3. Bob's report: seven warnings in a program that worked
  4. The track's style page, in one table
  5. The review card: Module 0's rules, improved
  6. Kenji's % and the listing that answers him
  7. Bob's report, reviewed and rewritten
  8. MISRA C and CERT C: rules others wrote down