Examveda

What will be the output of the following C code?
#include <stdio.h>
struct student
{
    char *c;
};
void main()
{
    struct student s[2];
    printf("%d", sizeof(s));
}

A. 2

B. 4

C. 16

D. 8

Answer: Option D


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union