On Tue, 2 Sep 2003 15:08:24 +0530, "Nitin" <>
wrote in comp.lang.c:
> Hi,
>
> Without using sizeof, is there a way to get to know the size of any data
> type on that OS ... ???
>
> one way I could think of is to take diff of the addresses of two variables
> defined consecutively.
> Any other way .....????
>
> thanks,
> nitin
Yes, forget the nonsense and use sizeof, that's what its there for.
Are you the same person who asked the same question a few months ago?
Why not use sizeof?
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
ftp://snurse-l.org/pub/acllc-c++/faq