how to store 10^1000 in c?
not even unsigned long long can store it…plz help
link text
Sometimes you really need to work with big numbers, then you can use char[1000]
or int[1000]
.
On the other hand if your plan is to iterate all these numbers , you have to realize, that if CPU can handle 10^9 operations in second, you will need 10^991 seconds to do that…