Identify the correct argument for the function call fflush
() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above
Answer Posted / vinay
BOTH A AND B
The function fflush() clears the buffer associated with a
specified input/output device(stdin or stdout).
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
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
Explain what are bus errors, memory faults, and core dumps?
What is self-referential structure in c programming?
What are directives in c?
all c language question
Explain how can I manipulate strings of multibyte characters?
What are structure types in C?
What is the sizeof () operator?
How to write a code for reverse of string without using string functions?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What is the difference between array and linked list in c?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What happens if you free a pointer twice?
Is there a way to compare two structure variables?
What is the difference between abs() and fabs() functions?