what would be the output of the follwing

struct st
{
char name[20];
int i;
float f;

};
main()
{
struct st emp = {"forum"};
printf("%d %f",emp.i,emp.f);

}

Answer Posted / ajay

0 0.000000

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is sizeof () an operator and not a function?

593


How can I convert a number to a string?

614


what is a function method?give example?

1918


How pointer is different from array?

586


In a byte, what is the maximum decimal number that you can accommodate?

630






Why & is used in c?

721


Why is c so important?

602


What does p mean in physics?

589


Do pointers need to be initialized?

571


Write a program to print fibonacci series using recursion?

591


`write a program to display the recomended action depends on a color of trafic light using nested if statments

1638


Explain what is meant by high-order and low-order bytes?

637


What is a pointer on a pointer in c programming language?

625


Write a program to reverse a linked list in c.

649


What is the use of a static variable in c?

596