How do I use valgrind to find the memory leaks in a program?
I am using Ubuntu 10.04 and I have a program a.c.
a.c