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

```
int x, y = 15;
x = y--;
```

a. 14
b. 16
c. 0
d. 15


d. 15

Computer Science & Information Technology

You might also like to view...

StringBuilder greeting = new StringBuilder("Hello, John"); char initial = greeting.charAt(7); ? Using the above code and the charAt() method, what value will be assigned to the variable initial?

What will be an ideal response?

Computer Science & Information Technology

If you believe that your computer is involved in a DoS attack, you should contact your ____ immediately.

A. ?network administrator B. ?ISP C. ?either a. or b. D. ?neither a. nor b.

Computer Science & Information Technology