Factorial of a larger number

how to compute the factorial of a number > 12 in c++

Usually if the question asks you to find factorial of large numbers then it would ask you to output it mod 10^9+7 or some other number maybe. But if you want exact answer then wht you can do is, use string multiplication algo, and save number and factorial in form of string or array whichevr you like.