我用的gcc,打印信息如下,为很大的数字,还会变
[root@localhost /]# gcc 4.c
[root@localhost /]# ./a.out
-4617235627274928129
[root@localhost /]# ./a.out
-4646868152838258689
[root@localhost /]# ./a.out
-4643199288694800385
[root@localhost /]# ./a.out
-4643903113575530497
[root@localhost /]# ./a.out
-4626359443481690113
[root@localhost /]# ./a.out
-4627895117628309505
[root@localhost /]# cat 4.c
#include "stdio.h"
#include "stdlib.h"
main()
{
int i=-1;
printf("%lld\n",i);
}
[root@localhost /]#