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

Ether was used widely for surgeries but became less popular because of its flammability and its tendency to cause vomiting. In England, it was quickly replaced by chloroform, but this agent caused many deaths and lost popularity.

Did you know?

Colchicine is a highly poisonous alkaloid originally extracted from a type of saffron plant that is used mainly to treat gout.

Did you know?

Russia has the highest death rate from cardiovascular disease followed by the Ukraine, Romania, Hungary, and Poland.

Did you know?

The largest baby ever born weighed more than 23 pounds but died just 11 hours after his birth in 1879. The largest surviving baby was born in October 2009 in Sumatra, Indonesia, and weighed an astounding 19.2 pounds at birth.

Did you know?

Patients who have undergone chemotherapy for the treatment of cancer often complain of a lack of mental focus; memory loss; and a general diminution in abilities such as multitasking, attention span, and general mental agility.

For a complete list of videos, visit our video library