Code:
void multiplyNumbers(int space,int number[], int number2[], int *toStore)
{
int initialSpace[space]; //For temporary numbers
for(int x = 0; x < space; x++)
{
initialSpace[x]=0;
}
int runThrough=0; //Responsible for adding zeros.
for(int i = space - 1; i >=(space - numberLength(space, number2)); --i)
{
for(int j = space - 1; i >=(space - numberLength(space, number)); --j)
{
for(int k = (space - 1); k >= (k - runThrough); k--)
{
initialSpace[k] = (k==(k-runThrough)?number[j]:0);
...
Last edited: