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

If the size of int data type is two bytes, what is the range of signed int data type?

0 Answers  


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

0 Answers  


Write a program which calculate sum of several number and input it into an array. Then, the sum of all the number in the array is calculated.

2 Answers  


the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789

5 Answers  


what is a non volatile key word in c language?

1 Answers  


Why is c called a mid-level programming language?

0 Answers  


how many header file is in C language ?

44 Answers   College School Exams Tests, CTS, IBM, IMS, Infosys, ME, Sign Solutions, Wipro, XVT,


to find the closest pair

0 Answers   Infosys,


Why isnt there a numbered, multi-level break statement to break out

0 Answers  


please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch

2 Answers  


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

0 Answers   Infosys,


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

0 Answers  


Categories