What will the following code display?

int number = 6;
int x = 0;
x = --number;
cout << x << endl;

a. 6
b. 5
c. 7
d. 0

b. 5

Computer Science & Information Technology

You might also like to view...

A series of cells that display vertically is called a(n) ________

A) note B) column C) tab D) row

Computer Science & Information Technology

While vector images are scaled quite successfully in page layout programs, a permanent change in size is harder to interpolate. _________________________

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

Computer Science & Information Technology