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


Please Help Members By Posting Answers For Below Questions

Why header files are used?

646


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1451


What are runtime error?

629


Explain how can you tell whether a program was compiled using c versus c++?

578


What are the scope of static variables?

601






What is the mean of function?

649


Why do we use namespace feature?

583


Why do we use int main?

610


How can I rethow can I return a sequence of random numbers which dont repeat at all?

706


When should we use pointers in a c program?

633


Which is better malloc or calloc?

651


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1727


Explain indirection?

646


Explain is it better to bitshift a value than to multiply by 2?

718


In which header file is the null macro defined?

857