what is the use of fflush() function?

Answers were Sorted based on User's Feedback



what is the use of fflush() function?..

Answer / kamini

the fflush() function is useed for remove the garbage value
of keyboard.

Is This Answer Correct ?    15 Yes 5 No

what is the use of fflush() function?..

Answer / varun sahu

the fflush() function is used to remove garbage which is present in the buffer.

Is This Answer Correct ?    12 Yes 2 No

Post New Answer

More C Interview Questions

What is equivalent to ++i+++j?

0 Answers  


You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

2 Answers   Microsoft,


What should malloc(0) do?

0 Answers  


how to write a program which adds two numbers without using semicolon in c

2 Answers  


#define d 10+10 main() { printf("%d",d*d); }

6 Answers  






What is the significance of scope resolution operator?

0 Answers   Agilent, ZS Associates,


What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }

9 Answers   CTS, Wipro,


What is sorting in c plus plus?

0 Answers  


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

0 Answers   Subex,


Explain what are header files and explain what are its uses in c programming?

0 Answers  


6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1

4 Answers  


Explain the use of keyword 'register' with respect to variables.

0 Answers  


Categories