Vidyalelo
C Programming · Q152

Structure and Union

Programming · C Programming · question 152

Q152

What will be the output of the following C code? #include struct student char a[]; ; void main() struct student s; printf("%d", sizeof(struct student));

A.
Compile time error
Answer
B.
8
C.
1
D.
Varies

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board