51. ungetc() may be used with . . . . . . . .
52. What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
void main()
{
int k = sqrt(-4);
printf("%d\n", k);
}
#include <stdio.h>
#include <math.h>
void main()
{
int k = sqrt(-4);
printf("%d\n", k);
}
53. stdout, stdin and stderr are . . . . . . . .
54. What will be the output of the following C code?
#include <stdio.h>
#include <ctype.h>
int main()
{
char i = 9;
if (isdigit(i))
printf("digit\n");
else
printf("not digit\n");
return 0;
}
#include <stdio.h>
#include <ctype.h>
int main()
{
char i = 9;
if (isdigit(i))
printf("digit\n");
else
printf("not digit\n");
return 0;
}
55. Which of the following causes an error?
56. Which header file includes a function for variable number of arguments?
57. fputs() adds newline character.
58. For binary files, a . . . . . . . . must be appended to the mode string.
59. The type va_list in an argument list is used . . . . . . . .
60. The standard header . . . . . . . . is used for variable list arguments (...) in C.
Read More Section(File Input Output)
Each Section contains maximum 100 MCQs question on File Input Output. To get more questions visit other sections.