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
Answer Posted / 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 |
Post New Answer View All Answers
Explain what is the difference between functions getch() and getche()?
What is function and its example?
Explain the difference between getch() and getche() in c?
What is identifiers in c with examples?
Why do we need arrays in c?
Can I initialize unions?
What are the types of data files?
Explain high-order bytes.
What is the difference between exit() and _exit() function in c?
What is typedef struct in c?
What is far pointer in c?
Which is the memory area not included in C program? give the reason
How can you increase the allowable number of simultaneously open files?
What is the condition that is applied with ?: Operator?
What happens if you free a pointer twice?