Answer:
Option a is the correct answer for the above question.
Explanation:
The question wants the output of "one more than the double of n".It is also called as "2n+1".Then the value of n will be multiplied by 2 and then 1 will be added on it.
It is formed by the option 'a' which have two statements. The first statement multiplies the value of n by 2 and stores it into result and the value becomes twice of n and then the second statement adds the 1 value to the result value and again store the value in the result. So the result variable stores the (2*n) +1 value. Hence Option a is correct while the other is not because--