On Sun, 20 Aug 2006 19:32:14 UTC, "saurabh" <ro***********@gmail.com>
wrote:
#include<stdio.h>
int main()
int main(void)
{
int i;
printf("\n%u%u",sizeof(i));
}
output 42433316
You're multiple times in undefined behavior:
1. You use uninitialised i.
2. You use more conversion flags in the format string as defined in
actual parameters.
3. sifeof returns type size_t not unsigned int.
Another error is that you lets mis the '\n' immediately before the
format string ends.
The output of your program means nothing. It is completely random
based on the errors. Undefined behavior means that all and anything
one can thing about may occure.
I've seen seldom so manny errors in so little number of lines of code.
Fix all the errors and try again.
--
Tschau/Bye
Herbert
Visit
http://www.ecomstation.de the home of german eComStation
eComStation 1.2 Deutsch ist da!