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 %d used for?
Lists the benefits of c programming language?
What is auto keyword in c?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
When should you not use a type cast?
How can a string be converted to a number?
What is a header file?
regarding pointers concept
Explain what are header files and explain what are its uses in c programming?
What is volatile variable how do you declare it?
Where local variables are stored in c?
What is the meaning of c in c language?
What is the explanation for prototype function in c?