Author Question: What will the following code display? int numbers[] = {99, 87, 66, 55, 101};cout (Read 107 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?

The immune system needs 9.5 hours of sleep in total darkness to recharge completely.

Did you know?

In the ancient and medieval periods, dysentery killed about ? of all babies before they reach 12 months of age. The disease was transferred through contaminated drinking water, because there was no way to adequately dispose of sewage, which contaminated the water.

Did you know?

To prove that stomach ulcers were caused by bacteria and not by stress, a researcher consumed an entire laboratory beaker full of bacterial culture. After this, he did indeed develop stomach ulcers, and won the Nobel Prize for his discovery.

Did you know?

Medications that are definitely not safe to take when breastfeeding include radioactive drugs, antimetabolites, some cancer (chemotherapy) agents, bromocriptine, ergotamine, methotrexate, and cyclosporine.

Did you know?

Side effects from substance abuse include nausea, dehydration, reduced productivitiy, and dependence. Though these effects usually worsen over time, the constant need for the substance often overcomes rational thinking.

For a complete list of videos, visit our video library