Examveda

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;
}

A. digit

B. not digit

C. Depends on the compiler

D. None of the mentioned

Answer: Option B


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output