size of structure pointer
Sep 2, 2014 at 6:29am
is there way to find the size of structure pointer size?
when we tried to get the size of structure pointer will get size of address(@ location) which would be 4 bytes long.
but i want to get the size of all structure members size using structure pointer.
Sep 2, 2014 at 6:50am
So you don't want the the size of the pointer? If you want the size of the structure (object) you have to dereference the pointer first.
Topic archived. No new replies allowed.