1.

Write the value that will be stored in variable a after execution of the following code if :(i) initial value of a is 8.(ii) initial value of a is 10.int b = 9;if (a > b)      a = a + 5;a = a + 2;

Answer»

(i) Value of a is 10

(ii) Value of a is 17



Discussion

No Comment Found

Related InterviewSolutions