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

On average, someone in the United States has a stroke about every 40 seconds. This is about 795,000 people per year.

Did you know?

In inpatient settings, adverse drug events account for an estimated one in three of all hospital adverse events. They affect approximately 2 million hospital stays every year, and prolong hospital stays by between one and five days.

Did you know?

Aspirin may benefit 11 different cancers, including those of the colon, pancreas, lungs, prostate, breasts, and leukemia.

Did you know?

The human body produces and destroys 15 million blood cells every second.

Did you know?

The most dangerous mercury compound, dimethyl mercury, is so toxic that even a few microliters spilled on the skin can cause death. Mercury has been shown to accumulate in higher amounts in the following types of fish than other types: swordfish, shark, mackerel, tilefish, crab, and tuna.

For a complete list of videos, visit our video library