@sandeep

size = 16     address=3220095484
size = 16     address=3220598412
size = 16     address=3214020060
size = 16     address=3214400060
size = 16     address=3216088732
size = 16     address=3220983548
size = 16     address=3219062412
size = 16     address=3214817228



this is my continuous execution of your code
struct node
{
   char       c;
   double      d;
   int         s;
};
int main(){
   struct node a;
struct node *p;
p=&a;
   printf("size = %d \t address=%u", sizeof(a), p);
}

I don't know why you said 24 in the thread.. is it compiler dependent ??
-- 
Thanks and Regards
VIKAS SINGH
MCA- final year
NIT DURGAPUR
email:
 vikas.singh1...@gmail.com
 shyguy1...@gmail.com
http://smrit.wordpress.com

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to