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
What is a header file?
Is it possible to execute code even after the program exits the main() function?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Is c language still used?
Write a program to swap two numbers without using third variable in c?
What is your stream meaning?
How to create struct variables?
How do you search data in a data file using random access method?
Write a code to generate divisors of an integer?
Are c and c++ the same?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is volatile keyword in c?
What are pointers? Why are they used?
Explain logical errors? Compare with syntax errors.
What is the difference between constant pointer and constant variable?