Question: What will the following code display? int numbers [ ] = { 9 9 , 8 7 , 6 6 , 5 5 , 1

What will the following code display? int numbers[]={99,87,66,55,101}; for (int i =1; i <4; i++) cout << numbers[i]<< endl; a.99876655101 c.876655 b.876655101 d. Nothing. This code has an error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!