Hi,
One more problem please guide me *How to debug using gcc* or any other book for that because I plan deliver the lecture on that topic.
Please do give a short demo of "ddd" (Data display debugger) ddd is a graphical debugger built on top of gdb. I found it very useful for understanding Data structures like linked lists, tree etc.
ddd is distributed in all Fedora distributions. Most of the other distros don't usally distribute ddd by default.
HTH.
-Devendra Laulkar.