Home » C Programming » Structures » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    struct alphabet
    {
    char *ch;
    };
    void main()
    {
    struct alphabet alp[2];
    printf("%d", sizeof(alp));
    }
    1. 16
    2. 8
    3. 4
    4. 2
    5. None of these
Correct Option: A

16



Your comments will be displayed only after manual approval.