Find the value of A[1] after execution of the following program.
int[] A = {0,2,4,1,3};
 for(int i = 0; i < a.length; i++)
{
 a[i] = a[(a[i] + 3) % a.length]; 
}

Posted on by