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

55 BYTES OF MEMORY NEEDED.
ADDRESSS-IS BY DEFAULT

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please explain every phase in the "SDLC" in the dotnet.

2181


What is the difference between null pointer and wild pointer?

641


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

760


Write a program to check armstrong number in c?

636


What is const and volatile in c?

567






develop algorithms to add polynomials (i) in one variable

1746


Is fortran still used today?

605


c program to compute AREA under integral

1812


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

1740


Describe explain how arrays can be passed to a user defined function

606


In C language what is a 'dangling pointer'?

641


What are multidimensional arrays?

656


Explain the difference between strcpy() and memcpy() function?

596


Write a program which returns the first non repetitive character in the string?

605


What is a char in c?

557