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
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?
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
How can I write functions that take a variable number of arguments?
Calculate 1*2*3*____*n using recursive function??
What is structure packing in c?
What is operator precedence?
What is meant by operator precedence?
What is #line?
Explain a pre-processor and its advantages.
What the advantages of using Unions?
Why is c called "mother" language?
What are the functions to open and close file in c language?
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
What is the difference between malloc calloc and realloc in c?
write a c program to calculate sum of digits till it reduces to a single digit using recursion