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

How can I discover how many arguments a function was actually called with?

849


if p is a string contained in a string?

1625


Explain how do you determine whether to use a stream function or a low-level function?

853


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1720


What are global variables and explain how do you declare them?

796


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

953


What are volatile variables in c?

706


What are local static variables? How can you use them?

856


What is non linear data structure in c?

782


Why is c still so popular?

800


Why do we write return 0 in c?

788


How are pointers declared in c?

810


Explain how can you determine the size of an allocated portion of memory?

838


Explain about the constants which help in debugging?

1096


Differentiate between the = symbol and == symbol?

938