Factorial of number which can't fit in long long

here sir has not discussed the way of calculating fact of large number…can u plzz explain that to me?

Use the concept of array to store the factorial values, this will be the basic approach you will follow to solve your answer

no…i am asking how to print that large number…ex: 100!

Use the loop to print like this :
for(int i=res_size-1 ; i>=0; i–)
{
cout<<res[i];
}
Since result is stored in reverse order, you can use this approach to print

the “int” can only store 4 bytes…how to print a 20 digit number…?

U can use #define MAX 1000 , and then declare the size of array as MAX,
for eg res_size[MAX];