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 |
What is meant by high-order and low-order bytes?
What oops means?
Explain what is the most efficient way to store flag values?
What is difference between array and pointer in c?
What is substring in c?
State the difference between x3 and x[3].
what will happen if you free a pointer twice after allocating memory dynamically ?
What are the preprocessor categories?
What is #line in c?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Explain bit masking in c?
what is difference between array of characters and string