Option A : Why the code
x+=((4*j)+5*i);
y+=(7+4*j);
is loop invariant ? x and y get updated with with change in values of i,j for every iteration
Option D: Also if we use constant propogation for n the loop headers become .. i<20... and j<20... respectively.
Hence n = 20 is a possible candidate for dead code elimination
So isnt A the right option ?