--- In [email protected], "John Matthews" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "una_020" <una_020@> wrote:
> >
> > 1.how to find size of structure without using sizeof operator?
> 
> Make an array of structures and find the difference in addresses of 2
> consecutive array elements. But as David said, you would use sizeof 
in
> a real program.
>
this wudnt work coz according to array arithmetic the difference 
between the addresses of adjacent elemenst wud give 1.

give some other alternative..

Reply via email to