I just deleted an answer to your question, because it was too much an advertisement.
If you really are interested in an answer to your 2 questions, do a google search for things like CODE INSPECTION or CODE ANALYSIS.
Kees
"
Hi,
I find very difficult to fix the dangling pointer bug occurred in my new open source office application developed in C language. I need some information to resolve this bug?
"

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic