Home » C Programming » Functions » Question
  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. Interview
    2. Mania
    3. C
    4. code
    5. None of these
Correct Option: D

code



Your comments will be displayed only after manual approval.