pls give a clear statement of ur problem...
fflush() is used to erase the keyboard buffer... the syntax is fflush(stdin)
it is used before a getchar() generally if theres a printf statement with a /n character cos the getchar method will take the /n as the input nd move on to the following statements...
I read somewhere online about the side effects of using fflush() with input streams,
the reason i have been told is that fflush is used with output streams only.