well...i tried in google...but actually i didn't quite get it. :)
http://www.thinkage.ca/english/gcos/expl/c/lib/fflush.html
in the above link they are saying, user should definitely NOT write code of the form
printf("Prompt: ");
fflush(stdout);
gets(s);
but before we used fflush after printf...for example here jephthah gave a solution where he used fflush after printf and mentioned // printf did not have newline, need to flush
When and why we need to use fflush exactly?
thanks to all..