What is the output of the following code?

int list[5];
for (int i = 0; i < 5; i++)
list[i] = i + 4;
cout << list[0] << “ “ << list[4];

4 8

Computer Science & Information Technology

You might also like to view...

The Chart ________ walks you through creating a chart

A) Creation tool B) Developer C) Wizard D) Formatting tool

Computer Science & Information Technology

Surrounding search terms with quotation marks (") limits a search to any words that sound like what is in the quotation marks

Indicate whether the statement is true or false

Computer Science & Information Technology