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



Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stde..

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

Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stde..

Answer / karthik

c

Is This Answer Correct ?    10 Yes 7 No

Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stde..

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

Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stde..

Answer / ......sadu........

stdin is the right answer

Is This Answer Correct ?    7 Yes 7 No

Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stde..

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

Post New Answer

More C Interview Questions

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; }

9 Answers   HCL,


how to swap 4 number without using temporary number?

2 Answers  


What is function what are the types of function?

0 Answers  


Can you please explain the difference between exit() and _exit() function?

0 Answers  


What is the best way to comment out a section of code that contains comments?

0 Answers  






what about "char *(*(*a[])())();"

3 Answers   Oracle,


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.

0 Answers  


Who had beaten up hooligan "CHAKULI" in his early college days?

1 Answers  


What does == mean in texting?

0 Answers  


Tell about strtok & strstr functions

2 Answers   HCL, iFlex, Motorola,


write a function for strtok()??

2 Answers   Verifone,


What does double pointer mean in c?

0 Answers  


Categories