Quote Originally Posted by transgalactic2
this code is intended
Yes, but not properly (e.g., consistently). This code is indented properly:
Code:
kounter = 0;
for (index = 0; index < cols; index++)
{
    sumc[index] = 0;
}

for (index = cols - 1; index >= cols; index--)
{
    copy = sumc[index + kounter];

    while (copy != 0)
    {
        sumc[index + kounter] = sumc[index + kounter] + copy % 10;
        copy = copy / 10;
        kounter--;
    }
}

for (index = 0; index < rows; index++)
{
    printf("%d", sumc[kndex]);
}
Quote Originally Posted by transgalactic2
and basicly what the code needs to do is
Yes, you have explained that. Basically, you are trying to do some kind of bignum-style addition where each element of the array is a digit. What you have not explained is how does your current code not work.

It looks like you are missing a variable to carry over the addition.

Oh, and whiteflags suggested a little-endian format. Are you going to do it that way, or stick to a big-endian format?