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 |
Is the exit() function same as the return statement? Explain.
0 Answers Agilent, ZS Associates,
Difference between for loop and while loop?
List the variables are used for writing doubly linked list program.
Was 2000 a leap year?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What does sizeof function do?
What should be keep precautions while using the recursion method?
Explain why can’t constant values be used to define an array’s initial size?
Does free set pointer to null?
What is function what are the types of function?
largest Of three Number using without if condition?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion