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 / pushpa
A)ii
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How can you be sure that a program follows the ANSI C standard?
Write a program to swap two numbers without using the third variable?
What is call by value in c?
What are the different properties of variable number of arguments?
What is a lookup table in c?
What's the total generic pointer type?
Under what circumstances does a name clash occur?
What would be an example of a structure analogous to structure c?
What is sizeof return in c?
Why n++ execute faster than n+1 ?
shorting algorithmS
Explain the difference between #include "..." And #include <...> In c?