the loop should appear like this ......
for(i = 0; i < length/2; i++)
{
temp = copy[i];
copy[i] = copy[length - 1 - i];
copy[length - 1 - i] = temp;
}
Type: Posts; User: andy2002
the loop should appear like this ......
for(i = 0; i < length/2; i++)
{
temp = copy[i];
copy[i] = copy[length - 1 - i];
copy[length - 1 - i] = temp;
}