135k views
3 votes
What is the output of the C++ codeabove?

a.

0 1 2 3 4

c.

0 5 10 15 20

b.

0 5 10 15

d.

5 10 15 20

int list [5] = {0, 5, 10, 15, 20};
int j;
for (j = 0; j < 5; j++)
cout << list [j] << " ";
cout << endl;

User Chharvey
by
5.3k points

1 Answer

0 votes

Answer:

c

Step-by-step explanation:

xxhdudhshshsudjdjd

User Eren Aygunes
by
5.1k points