what is purpose of fflush(stdin) function


Answer Posted / addu

fflush is used to clear all non printable characters which are existed through standard input i.e.,stdin

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

4. main() { int c=- -2; printf("c=%d",c); }

1377


How macro execution is faster than function ?

679


What is void pointers in c?

599


Is c high or low level?

598


In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

739






Where static variables are stored in c?

599


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

614


What is struct node in c?

631


What are the two forms of #include directive?

653


Do pointers need to be initialized?

575


What is meant by type casting?

637


‎How to define structures? · ‎

645


What is self-referential structure in c programming?

666


What is floating point constants?

701


Explain can the sizeof operator be used to tell the size of an array passed to a function?

603