User will enter 2 strings from console ie 2342223423 and 23422
and I have to add them up as if they were integers.
I already have the code that will fill in the zeros like 2342223423 and 0000023422 so the addition can be done easily.
what I have been doing is I created a temporary int array that stores the values of the two strings being added by using the atoi method and seem to be having issues with it.
Also trying to use the itoa as well.
my method head is large_sum( char * num1, char *num2, char *answer)
where i have to return answer back to the main method to print it.
I have done this in java but used linked lists but I am forced to do C and use arrays.
any suggestions as to why I am having issues with the atoi then itoa ?
I just want to basically parse the string from the end to front, into ints, add them.. take that value and convert back into a char and put it into the answer array which is a string...