hello friends...i need some help again.it's little hard to understand that whats the use of
ungetc() function.Can you people explain that with some examples.please..i'm still learning.And new to this stuff..

If you have some code, and a question about that code, I'm happy to try and help. In this case, you need, it seems to me, a tutorial.

There are many excellent tutorials on the Web, both text based and video - some even from major universities.

Hiyaki over that way, dude - that be whar yur treasure truly lie! Haargh!! ;)