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
When was c language developed?
How do you override a defined macro?
Do you know the difference between exit() and _exit() function in c?
What's the right way to use errno?
How many header files are in c?
What are nested functions in c?
Can you write a programmer for FACTORIAL using recursion?
What is the use of putchar function?
Should a function contain a return statement if it does not return a value?
What is LINKED LIST? How can you access the last element in a linked list?
What is the difference between text and binary i/o?
Why c is a procedural language?
Why clrscr is used after variable declaration?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Can you tell me how to check whether a linked list is circular?