81.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    char i = '9';
    if (isdigit(i))
        printf("digit\n");
    else
        printf("not digit\n");
        return 0;
}

82.
What will be the output of the following C code?
#include <stdio.h>
#include <stdlib.h>
int main()
{
    FILE *fp = stdout;
    int n;
    fprintf(fp, "%d", 45);
}

85.
What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
    int i = 10;
    printf("%f\n", log10(i));
    return 0;
}

87.
Which is true about isaplpha(c), where c is an int that can be represented as an unsigned?
char or EOF.isalpha(c) returns

Read More Section(File Input Output)

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