Datatypes

Which datatype is to be use to decleare integer no having length 45 digits?
You could store the number in an array or consider using a library that allows large numbers, the best library for which is probably GMP, although other libraries do exist.

https://gmplib.org/#WHAT
As another suggestion, if you don't mind losing precision, you can also store your data in a double.
Topic archived. No new replies allowed.