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


Please Help Members By Posting Answers For Below Questions

Tell me is null always defined as 0(zero)?

674


what do the 'c' and 'v' in argc and argv stand for?

646


What is define c?

574


What do you understand by friend-functions? How are they used?

645


Who is the main contributor in designing the c language after dennis ritchie?

553






Why is c not oop?

539


Write a program for finding factorial of a number.

634


How can a program be made to print the name of a source file where an error occurs?

731


In which header file is the null macro defined?

857


What are the characteristics of arrays in c?

616


What does volatile do?

567


Can a variable be both constant and volatile?

562


Why do we use header files in c?

582


How do we print only part of a string in c?

587


How can I generate floating-point random numbers?

606