What is the output of the following C++ code?num = 10;while (num > 10)  num = num - 2;cout

A. 0
B. 6
C. 8
D. 10


Answer: D

Computer Science & Information Technology

You might also like to view...

What might the output look like?

``` #include int main() { int x, *x_ptr = &x; *x_ptr = 10; cout << “ “ << x << “ “ << &x << “ “ << x_ptr << “ “ << *x_ptr; } ``` A. 10 10 0012FF60 0012FF60 B. 10 0012FF60 10 0012FF60 C. 0012FF60 10 10 0012FF60 D. 10 0012FF60 0012FF60 10

Computer Science & Information Technology

To export any illustrator artwork-blend or no blend-as an animation, you must choose ____ in the Export As dialog box.

A. AI Layers to Movies B. AI Layers to Images C. AI Layers to SWF Frames D. AI Layers to blocks

Computer Science & Information Technology

The ________ slide layout contains no placeholders

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following rendering intents works well for business schematics?

a. colorimetric (absolute) b. colorimetric (relative) c. perceptual d. saturated

Computer Science & Information Technology