Author Question: How many elements does the following array have?int values[1000]; (Read 78 times)

tatyanajohnson

  • Hero Member
  • *****
  • Posts: 569
How many elements does the following array have?
int values[1000];
◦ 1001
◦ 999
◦ 1000
◦ cannot tell from the code


ebonylittles

  • Sr. Member
  • ****
  • Posts: 318

Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question

tatyanajohnson

  • Hero Member
  • *****
  • Posts: 569

ebonylittles

  • Sr. Member
  • ****
  • Posts: 318
Always glad to help...



 

Did you know?

Immunoglobulin injections may give short-term protection against, or reduce severity of certain diseases. They help people who have an inherited problem making their own antibodies, or those who are having certain types of cancer treatments.

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?

Hippocrates noted that blood separates into four differently colored liquids when removed from the body and examined: a pure red liquid mixed with white liquid material with a yellow-colored froth at the top and a black substance that settles underneath; he named these the four humors (for blood, phlegm, yellow bile, and black bile).

Did you know?

To combat osteoporosis, changes in lifestyle and diet are recommended. At-risk patients should include 1,200 to 1,500 mg of calcium daily either via dietary means or with supplements.

Did you know?

The average human gut is home to perhaps 500 to 1,000 different species of bacteria.

For a complete list of videos, visit our video library