how can i summation 2 huge number for example 2 number with 12 character?
please explain arrays and the way of transformation char to int
thank you...
Either get a library that handles big numbers, or if you prefer to do it yourself, do it the same way you do it on paper.
How huge is huge?
12 decimal digits will fit into a type double
or long double
.
If its just integers you're interested in, try type long long
which can handle about 18 decimal digits (signed) or 19 digits (unsigned).