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
What is the usage of the pointer in c?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
When should I declare a function?
What is the use of sizeof () in c?
how could explain about job profile
What are the similarities between c and c++?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is the use of printf() and scanf() functions?
write a program to print largest number of each row of a 2D array
What is static memory allocation?
What are the various types of control structures in programming?
where are auto variables stored? What are the characteristics of an auto variable?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Explain the use of bit fieild.
Compare array data type to pointer data type