This is a two part question: 1) Why does copy.c have to skip over padding? 2) If it already skipped over the padding, why is it adding it back? Wouldn't this make extra padding?
I have been reading a lot of other people's posts regarding resize and copy.c but can't seem to understand this part. Thanks
// skip over padding, if any
fseek(inptr, padding, SEEK_CUR);
// then add it back (to demonstrate how)
for (int k = 0; k < padding; k++)
{
fputc(0x00, outptr);
}