What will be the value of x after the following code is executed?

```
int x = 10, y = 20;
while (y < 100)
{
x += y;
}
```

a. 90
b. 110
c. 210
d. this is an infinite loop

d. this is an infinite loop

Computer Science & Information Technology

You might also like to view...

When should a parameter be a reference parameter?

a) When the parameter is carrying information into the function that does not have to be returned b) When the parameter is carrying information into the function that may be changed and the new value should be returned c) When the information is to be returned from the function using the parameter. d) Both b and c

Computer Science & Information Technology

The ____________________ property tells the browser when to display each style sheet and is designated in the HTML code.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology