LUCKY2: lucky number range

how to store 10^1000 in c? not even unsigned long long can store it…plz help


you need to use character array or strings to store such large numbers.

It is not possible to store such a large number in c/c++. So we use string for this.

If you haven’t used it before now to solve problems you can try .

a similar problem
can anyone help me with the logic ?

1 Like