Vidyalelo
C Programming · Q120

Structure and Union

Programming · C Programming · question 120

Q120

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

A.
2
B.
4
C.
16
D.
8
Answer

Answer: Option D

Solution

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