Q. What is the output of C program with structures?
Code:int main()
{
struct tree
{
int h;
int w;
};
struct tree tree1={10};
printf("%d ",tree1.w);
printf("%d",tree1.h);
return 0;
}
β
Correct Answer: (B)
0 10