long long conversion specifier

aimen bouchhima aimen.bouchhima@imag.fr
Tue Sep 28 13:00:00 GMT 2004


On may 32-bit machine  -gcc version 3.3.2-
the following code 

#include <stdio.h>
int main()
{
	unsigned long long int x = 0x1000000000000001ULL;
	printf("size = %d , value = %llx  \n ",sizeof(x),x);
	return 1;
}

results in :
size = 8 , value = 1000000000000001



HTH

Aimen



More information about the Gcc-help mailing list