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 / aman
your question is wrong it will give an error because u r declaring the variable 2 times and if u name it something else then the memory size will be 35 bytes on 32 bit compiler
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are valid signatures for the Main function?
Explain what are multibyte characters?
What are the different types of errors?
Explain that why C is procedural?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
What is data structure in c and its types?
Explain how can I remove the trailing spaces from a string?
Why c is a procedural language?
how do you programme Carrier Sense Multiple Access
How is null defined in c?
How do we print only part of a string in c?
What is the use of ?
ATM machine and railway reservation class/object diagram
Why doesnt that code work?
Why do we use pointer to pointer in c?