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

What is the usage of the pointer in c?

596


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

606


When should I declare a function?

615


What is the use of sizeof () in c?

549


how could explain about job profile

1446






What are the similarities between c and c++?

591


a value that does not change during program execution a) variabe b) argument c) parameter d) none

687


What is the use of printf() and scanf() functions?

622


write a program to print largest number of each row of a 2D array

1864


What is static memory allocation?

597


What are the various types of control structures in programming?

621


where are auto variables stored? What are the characteristics of an auto variable?

582


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.

1010


Explain the use of bit fieild.

702


Compare array data type to pointer data type

593