declare a pointer to the structure.
ground it and increment it.
u have the size of the structure.
here is the psudo code
struct emp *temp=NULL;
int sizeofStruct=(int)++temp;
ashok.
Cheers
Srini
> > Can i find the size of it without using sizeof operator?- Hide quoted text -
>
> - Show quoted text -