is order urgent doubt
- From: new to c <non@xxxxxxxxxxxx>
- Date: Sat, 31 May 2008 23:26:13 +0200 (CEST)
Hi!
I write the 2 codes
int i;
i = sizeof(long int);
printf("%i", i);
i = sizeof(int long);
printf("%i", i);
and the first code and second code print 4.
I write another 2 codes
i = sizeof(double int);
printf("%i", i);
i = sizeof(int double);
printf("%i", i);
and the first code print 4 and the second code print 8.
My doubt is why is different number? Is order urgent?
.
- Follow-Ups:
- Re: is order urgent doubt
- From: Keith Thompson
- Re: is order urgent doubt
- From: Eric Sosman
- Re: is order urgent doubt
- Prev by Date: Re: How to print an array of char backward.
- Next by Date: Stats for comp.lang.c (last 7 days)
- Previous by thread: Re: How to print an array of char backward.
- Next by thread: Re: is order urgent doubt
- Index(es):
Relevant Pages
|