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

When was c language developed?

704


How do you override a defined macro?

703


Do you know the difference between exit() and _exit() function in c?

610


What's the right way to use errno?

627


How many header files are in c?

554






What are nested functions in c?

567


Can you write a programmer for FACTORIAL using recursion?

615


What is the use of putchar function?

652


Should a function contain a return statement if it does not return a value?

600


What is LINKED LIST? How can you access the last element in a linked list?

634


What is the difference between text and binary i/o?

593


Why c is a procedural language?

585


Why clrscr is used after variable declaration?

1042


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

564


Can you tell me how to check whether a linked list is circular?

773