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 is identifiers in c with examples?
Explain logical errors? Compare with syntax errors.
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is pragma c?
What is define directive?
Is main an identifier in c?
How do you sort filenames in a directory?
What is echo in c programming?
What is the benefit of using const for declaring constants?
What is the difference between functions abs() and fabs()?
Is flag a keyword in c?
Why c is faster than c++?
Why structure is used in c?
Explain what is meant by high-order and low-order bytes?
How can you restore a redirected standard stream?