What will be the output of the following program?

1.7 What will be the output of the following program?
void main( )
{
struct emp
{
char name[20];
int age;
float sal;
};
struct emp e ={“Tiger”};
printf(“\n%d %f”,e.age,e.sal);
A) 0 0.000000
B) Garbage values
C) Error
D) None of the above


Leave a Reply