big12.c compiled gcc -o big12 big12.c (64 bit long) -m64 needed on some older OS sizeof(sizeof(int))=8, sizeof needs pct ld sizeof(int)=4, sizeof(int1)=4 sizeof(long)=8, sizeof(long1)=8 sizeof(long long)=8, sizeof(llong1)=8 sizeof(float)=4, sizeof(fl1)=4 sizeof(double)=8, sizeof(d1)=8 sizeof(size_t)=8, sizeof(sz1)=8 sizeof(int *)=8, sizeof(p1)=8 n factorial with n of type long 0 ! = 1 1 ! = 1 2 ! = 2 3 ! = 6 4 ! = 24 5 ! = 120 6 ! = 720 7 ! = 5040 8 ! = 40320 9 ! = 362880 10 ! = 3628800 11 ! = 39916800 12 ! = 479001600 13 ! = 6227020800 14 ! = 87178291200 15 ! = 1307674368000 16 ! = 20922789888000 17 ! = 355687428096000 18 ! = 6402373705728000 19 ! = 121645100408832000 20 ! = 2432902008176640000 21 ! = -4249290049419214848 22 ! = -1250660718674968576 23 ! = 8128291617894825984 24 ! = -7835185981329244160 trying to malloc 10GB malloc returned stored 10GB of 'a'