#include<stdio.h> unsigned long long factorial(unsigned long long x); int main(void) { unsigned long long a=100, fact; fact= factorial(a); printf("the factorial of %llu is %llu",a,fact); } unsigned long long factorial(unsigned long long x) { unsigned long long f; if(x==1) return (1); else f= x*factorial(x-1); return (f); }
100!
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)