let's take a code

struct FAQ
{
int a;
char b;
float c;
double d;
int a[10];
}*temp;

now explain me how the memory will be allocated for the
structure FAQ and what address will be in the structure
pointer (temp)....................

Answer Posted / vignesh1988i

please be clear ...............i could not understand ur
reply fully.... please brief it .......sorry

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

615


How do you write a program which produces its own source code as output?

610


What is echo in c programming?

561


If you know then define #pragma?

678


Write a program to identify if a given binary tree is balanced or not.

689






What is the difference between union and anonymous union?

841


`write a program to display the recomended action depends on a color of trafic light using nested if statments

1635


What are the various types of control structures in programming?

631


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

2561


What is the size of a union variable?

604


How would you obtain the current time and difference between two times?

734


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

677


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1907


Ow can I insert or delete a line (or record) in the middle of a file?

579


What is realloc in c?

581