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