What will be the value of x after the following statements are executed?

```
int x = 10;
switch (x)
{
case 10:
x += 15;
case 12:
x -= 5;
break;
default:
x *= 3;
}
```

a. 30
b. 20
c. 25
d. 5

b. 20

Computer Science & Information Technology

You might also like to view...

An ________ is used to move an object off the screen

A) exit effect B) emphasis effect C) entrance effect D) animation painter

Computer Science & Information Technology

Mobile wireless Internet access is the type of direct connection most commonly used with smartphones and tablets to keep them connected to the Internet via a mobile phone network, even as they are carried from place to place.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology