What is Big Integers data type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

What is Big Integers data type

To find factorial of big numbers

13th Aug 2019, 4:48 AM
Sahil
Sahil - avatar
9 Answers
+ 3
More bigger than long long int
13th Aug 2019, 4:51 AM
Sahil
Sahil - avatar
+ 3
Ketan Lalcheta
13th Aug 2019, 5:07 AM
Sahil
Sahil - avatar
+ 3
Array of 2570
13th Aug 2019, 5:11 AM
Sahil
Sahil - avatar
+ 2
😅
13th Aug 2019, 4:52 AM
Sahil
Sahil - avatar
+ 2
Can explain it
13th Aug 2019, 5:07 AM
Sahil
Sahil - avatar
+ 2
😂
13th Aug 2019, 5:11 AM
Sahil
Sahil - avatar
+ 1
SAHIL c++ is not so good unlike other languages when we talk about large data type... for the purpose of finding factorial of big numbers, you may go with string and manipulate by your self.
13th Aug 2019, 5:06 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
SAHIL refer below code : https://code.sololearn.com/cm9UP5xCGx3U/?ref=app in this code, I have just used array to store each digit from a number... instead of array , you can use string as well and each character of string represent digit of a number... feel free to ask for any query.
13th Aug 2019, 5:09 AM
Ketan Lalcheta
Ketan Lalcheta - avatar