Strings


  1. What will be the output of the following C code?
    #include <stdio.h>
    #include <ctype.h>
    int main()
    {
    char ch = 'I';
    printf("%d\n", isspace(ch));
    }











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Non-zero number


  1. What will be the output of the following C code?
    #include <stdio.h>
    #include <ctype.h>
    int main()
    {
    char ch = 'I';
    printf("is : %c\n", tolower('W'));
    }











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    is : w



  1. Which types of input are accepted in toupper(c)?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Both char *and char


  1. What is the difference in the ASCII value of capital and non-capital of the same letter is?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    32