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 will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }
how to swap 4 number without using temporary number?
What is function what are the types of function?
Can you please explain the difference between exit() and _exit() function?
What is the best way to comment out a section of code that contains comments?
what about "char *(*(*a[])())();"
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
Who had beaten up hooligan "CHAKULI" in his early college days?
What does == mean in texting?
Tell about strtok & strstr functions
2 Answers HCL, iFlex, Motorola,
write a function for strtok()??
What does double pointer mean in c?