nested structure

Post new topic   Reply to topic

View previous topic View next topic Go down

nested structure

Post  amazon on Fri Jan 16, 2009 4:45 pm

struct a
{

struct b
{
int x;
int y;
int z;
}bb;

struct c
{
......
......
......
}cc;

struct d
{
int i;
int j;
int k;
}dd;
}aa;

now the prob is given address of dd.i get the address/value of x....
(and no sizeof plz......)

amazon

Posts: 13
Join date: 2008-08-10

View user profile

Back to top Go down

Re: nested structure

Post  ankurgutpa on Fri Jan 16, 2009 9:29 pm

question not clear..plz elaborate or exemplify

ankurgutpa

Posts: 44
Join date: 2008-08-10
Age: 22
Location: Tandon 72

View user profile

Back to top Go down

View previous topic View next topic Back to top


Post new topic   Reply to topic
Permissions of this forum:
You cannot reply to topics in this forum