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
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 |
Is printf a keyword?
What is %d called in c?
Is the following code legal? struct a { int x; struct a b; }
code for quick sort?
Why is sprintf unsafe?
How to implement a packet in C
c program to print a name without using semicolon
cavium networks written test pattern ..
what is function pointer?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What should malloc(0) do?
control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent