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...

Pinterest users are predominantly female, middle-aged, and middle class

Indicate whether the statement is true or false

Computer Science & Information Technology

When you ________ a file in Office Backstage, you can do so by invitation, e-mail, online presentation, or blog post

Fill in the blank(s) with correct word

Computer Science & Information Technology