Friday, August 19, 2011

Why doesn't this C function work more than once?

Start your program with flushall() or flush(stdout)/ flush(stdin) ..It will clear the buffer that is occupied by scanf function..

No comments:

Post a Comment