Identify the correct argument for the function call fflush
() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / 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 |
explain memory layout of a C program
What are reserved words with a programming language?
What are the advantages of union?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What is the use of getch ()?
how can I convert a string to a number?
How do you use a 'Local Block'?
What are the different types of linkage exist in c?
What is a char c?
Write a program to print “hello world” without using semicolon?
What is Lazy evaluation in C? Give an example.
wats the diference btwen constant pointer and pointer to a constant.pls give examples.