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