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 associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What does *p++ do?
What is the significance of scope resolution operator?
What is difference between class and structure?
I need testPalindrome and removeSpace
#include
Why c is faster than c++?
cavium networks written test pattern ..
What is "Duff's Device"?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
Does c have circular shift operators?
Are there constructors in c?
What are the different types of pointers used in c language?
write a program to print data of 5 five students with structures?
What is unary operator?
What are volatile variables in c?