Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

What will the following code display? int numbers[ ] = {99, 87, 66, 55, 101 }; cout << numbers[3] << endl;

OpenStudy (e.mccormick):

Did you try it in a compiler?

OpenStudy (mandre):

Most, if not all programming languages starts the index numbers for arrays from 0 so numbers[0] = 99 numbers[1] = 87 and so on.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!