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);
}
Answers were Sorted based on User's Feedback
Answer / maruthi
Answer:0,0
Because if 1 element is initialised in structure or array
the remaining elements are initialised to 0 by default.
| Is This Answer Correct ? | 8 Yes | 2 No |
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Why is c called c not d or e?
dibakar & vekatesh..uttejana here..abt ur reply for in place reversal of linked list..wats p stands for there?
how can i get output like this? 1 2 3 4 5 6
What is the difference between the = symbol and == symbol?
How can you increase the size of a statically allocated array?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
biggest of two no's with out using if condition statement
what is a void pointer?
how to determine the complexity of an algorithm as log(n)
What are header files in c?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?