Appendix A. Common Errors in C
Types of Errors
The errors in a program can be broadly classified as follows.
These are generated when typographical errors are made by users.
These are errors detected by the compiler which make the program un-compliable. Every language has syntax rules. These rules determine which statements are legal in the language and which are not. Compiler programs are designed to enforce these rules. When a rule is broken, the compiler reports an error message and an object file is not created. Most compilers will continue scanning the source file after an error and report other errors it finds. However, once an error has been found, the compiler may be confused by later perfectly legal statements ...