i need your help.
I need to make a program which will make sum of digits in number e.g. 123 is 6
BUT, the number could be very big like 1000 digits long or more.(e.g. 1 005 854 684......) - of course without spaces
So, i cannot use datatypes like unsigned long long int, because of it is not enough.
Well, my idea is to store a number into string, then i have to make calculations to make sum of digits.
So, my question is: Is it better to use string (char array) or Int array? Do i need to convert char array to some number only array?
Thanks in advance for any help.