nested structure

Go down

nested structure

Post  amazon on Fri Jan 16, 2009 9:45 am

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 2:29 pm

question not clear..plz elaborate or exemplify
avatar
ankurgutpa

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

View user profile

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum