Which is the best approach to debugging?

A. Don't worry about it at all until after the program is written.
B. Be sure the program will work perfectly before writing it.
C. Anticipate errors before they happen, and find and fix errors that happen.
D. Use an HTML encoder.

C. Anticipate errors before they happen, and find and fix errors that happen.