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
What is an lvalue in c?
Give the rules for variable declaration?
What type is sizeof?
What do you mean by keywords in c?
Why enum is used in c?
What are different types of variables in c?
Which is better between malloc and calloc?
What is volatile, register definition in C
what is reason of your company position's in india no. 1.
What are the characteristics of arrays in c?
Explain the use of #pragma exit?
Can we access array using pointer in c language?
What is #define used for in c?
How #define works?
Explain is it better to bitshift a value than to multiply by 2?