Question: int i = 5; if (++ i == 5) i = 2 *i; if (i > 5) i = i+1; if (i % 2 ==
int i = 5;
if(++ i == 5) i = 2 *i;
if(i > 5) i = i+1;
if(i % 2 == 0)
i = i+1;
else i = i + 2;
switch(i){
case 10: i = 0;
case 11: i = i-2;
case 12: i = 2 * i; break;
case 13: i = 5;
default: i = 10;
What is i in the end?
Question 15 options:
| |||
| |||
| |||
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
