How to flush the stdin??
Why is it not working in the following code snippet?
#include #include #i
int c; while((c = getchar()) != '\n' && c != EOF);
Is how I'd clear the input buffer.