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

Interview Mania



Your comments will be displayed only after manual approval.