Identify the correct argument for the function call fflush
() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above
Answer Posted / johnson
Wrong, fflush can be applied to any output stream. Stdout and
stderr, as well as any writeable FILE* will work.
| Is This Answer Correct ? | 25 Yes | 3 No |
Post New Answer View All Answers
What is a stream water?
What are valid operations on pointers?
What is the use of sizeof () in c?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
What do the functions atoi(), itoa() and gcvt() do?
Explain the use of 'auto' keyword in c programming?
What is clrscr ()?
What is include directive in c?
Tell me when would you use a pointer to a function?
Explain how can I convert a string to a number?
How can you increase the size of a dynamically allocated array?
Explain what is the benefit of using an enum rather than a #define constant?
What is merge sort in c?
How can you access memory located at a certain address?
What is spaghetti programming?