hi can anyone help me here;
i have a while loop that carries out some operations on an array ive named arrayQ - at the end of the loop i want to reinitialise arrayQ back to its original value which i have stored in an array called array_Qcopy.
for some reason the code below doesnt work, on the first loop through the while statement - the original value changes to the modified one - instead of the modified one changing back to the original.
Code:
for( k = 0; k < size; k++)
{array_Q[k] = array_Qcopy[k]; }
please help !!!