What is the output of the following code?

int numbers[5];
for (int i = 1; i < 5; i++)
numbers[i - 1] = i + 1;
for (int i = 0; i < 3; i++)
cout << numbers[i];

2 3 4

Computer Science & Information Technology

You might also like to view...

Which of the following will terminate a coaxial cable?

A. DB9 B. RJ45 C. RG-59 D. RS-232

Computer Science & Information Technology

What are the benefits of utilizing Virtual LANs to divide a network?

What will be an ideal response?

Computer Science & Information Technology