Which is the correct option of the following?
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