Home » C Programming » Pointers » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    char *ch[20] = {"Hey", "How", "Hope"};
    printf("%d\n", sizeof(ch[10]));
    }
    1. Hey
    2. How
    3. 8
    4. Hope
    5. None of these
Correct Option: C

8



Your comments will be displayed only after manual approval.