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


Please Help Members By Posting Answers For Below Questions

What is a header file?

640


Is it possible to execute code even after the program exits the main() function?

827


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

656


Is c language still used?

540


Write a program to swap two numbers without using third variable in c?

622






What is your stream meaning?

610


How to create struct variables?

597


How do you search data in a data file using random access method?

840


Write a code to generate divisors of an integer?

645


Are c and c++ the same?

629


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1789


What is volatile keyword in c?

587


What are pointers? Why are they used?

633


Explain logical errors? Compare with syntax errors.

633


What is the difference between constant pointer and constant variable?

753