Author Question: What will the following code display? int numbers[] = {99, 87, 66, 55, 101};cout (Read 121 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 lipid bilayer is made of phospholipids. They are arranged in a double layer because one of their ends is attracted to water while the other is repelled by water.

Did you know?

Children of people with alcoholism are more inclined to drink alcohol or use hard drugs. In fact, they are 400 times more likely to use hard drugs than those who do not have a family history of alcohol addiction.

Did you know?

Street names for barbiturates include reds, red devils, yellow jackets, blue heavens, Christmas trees, and rainbows. They are commonly referred to as downers.

Did you know?

Looking at the sun may not only cause headache and distort your vision temporarily, but it can also cause permanent eye damage. Any exposure to sunlight adds to the cumulative effects of ultraviolet (UV) radiation on your eyes. UV exposure has been linked to eye disorders such as macular degeneration, solar retinitis, and corneal dystrophies.

Did you know?

In 1844, Charles Goodyear obtained the first patent for a rubber condom.

For a complete list of videos, visit our video library