Home » C Programming » Pointers » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    char ch[12][16] = {"Interview", "Mania", "World"};
    printf("%d", sizeof(ch[1]));
    }
    1. 16
    2. 12
    3. Garbage value
    4. Compilation Error
    5. Runtime Error
Correct Option: A

16



Your comments will be displayed only after manual approval.