Reading Errors
To learn how to interpret errors an warnings from the compiler, a good technique is to take a correct program, introduce one mistake at a time, and see what the compiler reports.
Examples:
- Missing basic types
- Function declared implicit (no <stdio.h>)
- Expression syntax (;)
- Too few arguments in format string (printf)
- Undefined identifier
- Unexpected EOF
- etc.