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...