Doubt clear, sorry for that silly question. regard, Chetan
On 08 Apr 2007 06:11:02 -0700, Nico Heinze <[EMAIL PROTECTED]> wrote: > > --- In [email protected] <c-prog%40yahoogroups.com>, Knowledge > Seeker > <[EMAIL PROTECTED]> wrote: > > > > MAX, I think is some #define > > > > If I am correct then do one thing; > > > > #define MAX "This is a some text" > > #define MAX1 100 > > #define MAX2 1000.78 > > > > int main() > > { > > printf("%d %d %d", sizeof(MAX), sizeof(MAX1), sizeof(MAX2)); > > return 0; > > } > > > > What do you get in the output ... ?? > > If you didn't understand the reason behind it, repost again > > with the results you got > > > > Chetan Nanda wrote: > > > Hi, > > > I just need to ask , > > > If i do a sizeof on MAX, i.e sizeof(MAX). > > > What will it return? > <snip> > > I think what Chetan meant is to learn what data type sizeof() will > deliver. > In all compilers adhering to modern standards the sizeof operator > should return "size_t" if I recall correctly. It used to be an int, > but since C89 or so it should be size_t. > > Paul, Peter, am I right? Or am I currently badly damaging my > reputation on this board with my statement above? ;-) > > Regards, > Nico > > > [Non-text portions of this message have been removed]
