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 |
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
What is meant by type casting?
Find the largest number from the given 2 numbers without using any loops and the conditional operator.
How would you obtain the current time and difference between two times?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
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
can we write a program in c for printf and scanf without using header file stdio.h
how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .
how to TOGGLE Nth bit of variable in a MACRO
Explain the process of converting a Tree into a Binary Tree.
What are the preprocessor categories?
What is the difference between union and anonymous union?