What will be the output of the following C code?
#include <stdio.h>
struct student
{
};
void main()
{
struct student s[2];
printf("%d", sizeof(s));
}
#include <stdio.h>
struct student
{
};
void main()
{
struct student s[2];
printf("%d", sizeof(s));
}A. 2
B. 4
C. 8
D. 0
Answer: Option D

Join The Discussion