without sizeof operator

Light Poster
1Dec2006,17:59   #1
dhanulakshmi's Avatar
how can i find the sizeof the variables(may be structute ...etc)without using sizeof operator
Contributor
1Dec2006,18:12   #2
Aztec's Avatar
I posted one code snippet here
http://www.dreamincode.net/code/snippet712.htm
Go4Expert Founder
4Dec2006,10:47   #3
shabbir's Avatar
Aztec, really impressive code snippet.