0
How to calculate factorial of large nos??
is there any method other than the usual one...
1 Respuesta
+ 1
i m assuming that u have made a normal factorial and then asking this the answer is this that normally factorial of big numbers are also quite big. now u might be storing in them in normal int which is a 32 bit data type. 32 bit is insufficient to store that big number and is giving wrong answer due to that. u can use big data types long in java or long long in c++.