61.
Which of the following statements about stdout and stderr are true?

62.
What is the meaning of the following C statement?
printf(“%10s”, state);

63.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    short int i;
    scanf("%*d", &i);
    printf("%hd", i);
    return 0;
}

64.
On freeing a dynamic memory, if the pointer value is not modified, then the pointer points to.

66.
What does the following segment of C code do?
fprintf(fp, "Copying!");

69.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    char *s = "myworld";
    int i = 9;
    printf("%*s", i, s);
}

70.
What will be the output of the following C statement?
fprintf(stderr, "error: could not open filen");

Read More Section(File Input Output)

Each Section contains maximum 100 MCQs question on File Input Output. To get more questions visit other sections.