What is the output of the following code?

int myArray[8];
for (int c = 7; c > 2; c--)
myArray[c] = c * 4;
for (int p = 3; p < 7; p++)
cout << myArray[p] << “ “;


12 16 20 24

Computer Science & Information Technology

You might also like to view...

As you develop graphics on the Stage, you at times need to change your view of the Stage by adjusting the ____ level.

A. magnification B. resolution C. dimension D. wavelength

Computer Science & Information Technology

As shown in the accompanying figure, ____________________ margins use percentage, em, or other relative values to change in relation to the Web browser size.

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

Computer Science & Information Technology

Word includes features to perform calculations in a table, similar to:

A) an Access table. B) an Excel spreadsheet. C) a PowerPoint presentation. D) a Publisher template.

Computer Science & Information Technology

A word processor is an example of a system program.

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

Computer Science & Information Technology