Which of these statements are false w.r.t File Functions?
i)fputs() ii)fdopen() iii)fgetpos() iv)ferror()
A)ii B)i,ii C)iii D)iv

Answers were Sorted based on User's Feedback



Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)..

Answer / pushpa

A)ii

Is This Answer Correct ?    11 Yes 0 No

Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)..

Answer / kavipriya.t

ii

Is This Answer Correct ?    4 Yes 0 No

Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)..

Answer / shruti

ii -> fdopen

Is This Answer Correct ?    3 Yes 0 No

Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)..

Answer / charlee jain

A) ii

Is This Answer Correct ?    2 Yes 0 No

Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)..

Answer / garima

fputs->a function which puts the text in the stream
fdopen->a function to associate the stream with the file handle
fgetpos->a function to get the current pointer position
ferror->is a "macro" to find whether there is an error in
the entered stream
therefore the ans is (iv) ferror..which is not a function
but a macro...:)

Is This Answer Correct ?    1 Yes 0 No

Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)..

Answer / tabassum

IV

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  


What is the difference between variable declaration and variable definition in c?

0 Answers  


Why do some versions of toupper act strangely if given an upper-case letter?

0 Answers  


program to find the roots of a quardratic equation

1 Answers  


can u write a program in C, which does not use = (eqaul)or any arithmatic assignment(like -=,+=,*= etc) operator to swap to number?

2 Answers  






Why is %d used in c?

0 Answers  


Can main () be called recursively?

0 Answers  


what is recursion in C

0 Answers   Cap Gemini,


what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }

6 Answers   Microsoft,


What is volatile

2 Answers  


What is c mainly used for?

0 Answers  


related to rdbms query .

2 Answers  


Categories