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
Subtract Two Number Without Using Subtraction Operator
where are auto variables stored? What are the characteristics of an auto variable?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
how many errors in c explain deply
What is the advantage of using #define to declare a constant?
Write a program to print factorial of given number without using recursion?
What is the difference between abs() and fabs() functions?
How can I remove the trailing spaces from a string?
What are the advantages and disadvantages of a heap?
What is preprocessor with example?
When is a null pointer used?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Are there any problems with performing mathematical operations on different variable types?
What is the difference between array and pointer?
What are control structures? What are the different types?