81. Within main, return expr statement is equivalent to . . . . . . . .
82. ungetc() can be used only with getc().
83. calloc() returns storage that is initialized to.
84. puts() does the following when it writes to stdout.
85. What will be the output of the following C code?
#include <stdio.h>
int main()
{
char buf[12];
stderr = stdin;
fscanf(stderr, "%s", buf);
printf("%s\n", buf);
}
#include <stdio.h>
int main()
{
char buf[12];
stderr = stdin;
fscanf(stderr, "%s", buf);
printf("%s\n", buf);
}
86. Which of the following statement is true?
87. Control string specifies the type and format of the data that has to be obtained from the keyboard.
88. What form the data must be entered for the given C code?
scanf(“%d / %d”, &n1,&n2);
scanf(“%d / %d”, &n1,&n2);
89. What are the first and second arguments of fopen?
90. In a variable length argument function, the declaration "..." can . . . . . . . .
Read More Section(File Input Output)
Each Section contains maximum 100 MCQs question on File Input Output. To get more questions visit other sections.