In first for loop
Loop 1 : i = 0, a[0] = 2, i = 1
Loop 2 : i = 2, a[2] = 4, i = 3
Loop 3 : i = 4 and since 4 > 3, we exit from loop
i -- ; // i value will be decremented i.e i = 3.
In second for loop, i is created locally, so it won't have any effect on the i that is present outside the loop
Here a[3] decremented twice, at j = 7 and j = 6. So a[3] will be equal to 2 after this for loop
Printf() will print 3 and 2 as output, option c is correct here.