Identify the correct argument for the function call fflush
() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above

Answer Posted / pankaj goswami

d is the right ans because fflush contain all stdin for
standardinput,output and error.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1023


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

5174


How can I write functions that take a variable number of arguments?

857


Calculate 1*2*3*____*n using recursive function??

1769


What is structure packing in c?

829


What is operator precedence?

903


What is meant by operator precedence?

885


What is #line?

830


Explain a pre-processor and its advantages.

856


What the advantages of using Unions?

932


Why is c called "mother" language?

1071


What are the functions to open and close file in c language?

962


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

2722


What is the difference between malloc calloc and realloc in c?

904


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3010