Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

C++ Data type bigger than long long?!

So im trying to solve a little problem, it looks like this:
Code
"n! means n × (n − 1) × ... × 3 × 2 × 1

For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800,
and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27.

Find the sum of the digits in the number 100!"

so when i call my function with parameter as value 10, my program returns 3628800,
so my code is right but there is another problem, when i call my function with parameter as value 100 which in this case (100 is needed), long long data type wont capture whole number in it, since the return-number is too big for long long,

What can i use to solve this problem? is there anything bigger than long long?
i already tried
Code
unsigned __int64 && unsigned long long

Sorry if its messed up a little :) and tnx in advance...
cough Float cough cough malloc cough


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by maryousJul 24, 2022 03:35 PM 0 161 Jul 24, 2022 03:35 PM
Last Post: maryous
[C] by F.A.S.TJul 24, 2018 03:24 PM 7 287 Jul 24, 2018 03:24 PM
Last Post: aeiro
[C] by GodJul 14, 2017 04:38 PM 5 217 Jul 14, 2017 04:38 PM
Last Post: 0xDEAD10CC