Home » C Programming » Functions » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    char *ch[3] = {"Interview", "Mania"};
    printf("%s", ch[1]);
    }
    1. Compilation Error
    2. Interview
    3. Mania
    4. Garbage value
    5. None of these
Correct Option: C

Mania



Your comments will be displayed only after manual approval.