What will be the output of the following?
#include <stdio.h>
int main()
{
struct emp
{
char name[20];
int age;
float sal;
};
struct emp e = {"Tiger"};
printf("%d %f", e.age, e.sal);
return 0;
}
Answers
Answered by
2
Answer:
ask the question properly
Answered by
6
Answer:
0, 0.000000
Explanation:
When an automatic structure is partially initialized remaining elements are initialized to 0(zero).
Similar questions