what is purpose of fflush(stdin) function


Answer Posted / rajnish

to clear input buffer

Is This Answer Correct ?    70 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between main and void main?

864


Explain the use of 'auto' keyword in c programming?

904


Explain what is the difference between #include and #include 'file' ?

793


What will be your course of action for a push operation?

854


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

840


Does c have function or method?

801


How do you print an address?

986


What is c definition?

964


Explain how can a program be made to print the line number where an error occurs?

942


write a c program for swapping two strings using pointer

2330


How do you override a defined macro?

924


What is use of #include in c?

832


What is an endless loop?

1053


Why does everyone say not to use scanf? What should I use instead?

1082


How can you invoke another program from within a C program?

816