Functions


  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    char *str[3][3] = {{"Welcome", "to", "the"}, {"Interview", "Mania", "and"}
    , {"Enjoy", "C", "code"}};
    printf("%s", str[2][2]);
    }











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    code


  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int look_up[100] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
    printf("%d", look_up[6]);
    }











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    16