Author Question: What will the following code display? int numbers[] = {99, 87, 66, 55, 101};cout (Read 67 times)

magmichele12

  • Hero Member
  • *****
  • Posts: 559
What will the following code display?
int numbers[] = {99, 87, 66, 55, 101};
cout << numbers[3] << endl;

87
55
66
101



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question

magmichele12

  • Hero Member
  • *****
  • Posts: 559

jonathanballen97

  • Sr. Member
  • ****
  • Posts: 347

 

Did you know?

Once thought to have neurofibromatosis, Joseph Merrick (also known as "the elephant man") is now, in retrospect, thought by clinical experts to have had Proteus syndrome. This endocrine disease causes continued and abnormal growth of the bones, muscles, skin, and so on and can become completely debilitating with severe deformities occurring anywhere on the body.

Did you know?

Malaria mortality rates are falling. Increased malaria prevention and control measures have greatly improved these rates. Since 2000, malaria mortality rates have fallen globally by 60% among all age groups, and by 65% among children under age 5.

Did you know?

The first war in which wide-scale use of anesthetics occurred was the Civil War, and 80% of all wounds were in the extremities.

Did you know?

The Romans did not use numerals to indicate fractions but instead used words to indicate parts of a whole.

Did you know?

A good example of polar molecules can be understood when trying to make a cake. If water and oil are required, they will not mix together. If you put them into a measuring cup, the oil will rise to the top while the water remains on the bottom.

For a complete list of videos, visit our video library