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 / karthik

0, 0.00

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is restrict keyword in c?

646


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2456


What is #include in c?

601


Why is c so popular?

651


Are the variables argc and argv are always local to main?

575






What are the two types of structure?

579


Explain how can you be sure that a program follows the ansi c standard?

866


What is static function in c?

636


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

605


How many types of arrays are there in c?

596


What is a const pointer in c?

671


What are the key features in c programming language?

618


Is it possible to initialize a variable at the time it was declared?

757


Write a C program to count the number of email on text

1421


What is assignment operator?

627