Home » C Programming » Strings » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    #include <ctype.h>
    int main()
    {
    int num = 15;
    if (isspace(num))
    {
    printf("Space\n");
    }
    else
    {
    printf("Not Space\n");
    }
    return 0;
    }
    1. Compilation Error
    2. 15
    3. Not Space
    4. Space
    5. None of these
Correct Option: C

Not Space



Your comments will be displayed only after manual approval.