What is the value in x after this code is executed? int i = 4; int x = ++i;

A. 4
B. 5
C. 6
D. The statement won’t compile.

B. 5

Computer Science & Information Technology

You might also like to view...

An object copied to ________ can be pasted into other Office programs

A) the clipboard B) a folder C) the target D) the program

Computer Science & Information Technology

To indicate that a mathematical calculation needs to be performed, you should enter ________ in a formula

Fill in the blank(s) with correct word

Computer Science & Information Technology