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 |
What is the use of typedef in structure in c?
What is difference between structure and union with example?
how to reverse string "Hello World" by using pointers only. Without any temp var
write the program to find multiplication of 2-D matrix??????????
player is good if the following conditions are satisfied: He is either from “India”, “Japan” or “Korea” He has a minimum of 3 years of experience He has won at least 3 major tournaments, and one of them must be "World Championship Tournament". He must know more than 10 techniques. (but see next question) If he knows less than 10 techniques, then he must be a world champion. His name contains at least 3 words. For example "Sachin Tendulkar" will not meet this condition. Write a method: boolean isGoodPlayer(String name, String country, int yearsExperience, String[] majorTournamentsWon, String[] techniques, boolean isWorldChampion) name country yearsExperience majorTournamentsWon techniques isWorldChampion
2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers.
What is the role of && operator in a program code?
How to run c Program without using IDE of c. means if program made in notepad.then how to compile by command prompt.
how can i calculate mean,median,mode by using c program
Why do we use int main instead of void main in c?
program to find middle element of linklist?
sir, i cannot find the way how to write aprogram by using array on queue