when i run the program i want to add a big integer number into an int array
how can i do it.i don't want to use for loop
Last edited on
You should use 64 bit mode with size_t for unsigned. Also there are signed versions.
i want to add very big number about 30 or 40 digits i want to do similar this:
int array num;
and then i want to save every digit in one index
for example to save: 485648.....
num = 4 , num = 8 , num = 5 and so on.
You'll have to do it the same way they do in grade school, pairing from least-significant to most-significant digit. Don't forget to carry!