some where in where i have to use it.. like i m taking input and puting condition that input == 1 or 2 then .....else go back to input...... but when user inputs any charachter there it goes for unfinite loop.. this problem is sorting out by using fflush(stdin);
what to use instead??