91.
The parameter control string in the printf () is a C String that contains text to be . . . . . . . .

94.
What will be the output of the following C code?
#include <stdio.h>
#include <stdlib.h>
int main()
{
    srand(9000);
    printf("%d\n", rand());
    return 0;
}

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

100.
What is the output of the following C code if there is no error in stream fp?
#include <stdio.h>
int main()
{
    FILE *fp;
    fp = fopen("newfile", "w");
    printf("%d\n", ferror(fp));
    return 0;
}

Read More Section(File Input Output)

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