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 |
Explain can the sizeof operator be used to tell the size of an array passed to a function?
In header files whether functions are declared or defined?
What is character set?
WHOT IS CHAR?
what is the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
What is difference between structure and union with example?
In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?
Write a program to find whether the given number is prime or not?
what is the self-referential structure?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
64/square(4)
Define function pointers?