Author Question: How many elements does the following array have?int values[1000]; (Read 72 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?

The horizontal fraction bar was introduced by the Arabs.

Did you know?

GI conditions that will keep you out of the U.S. armed services include ulcers, varices, fistulas, esophagitis, gastritis, congenital abnormalities, inflammatory bowel disease, enteritis, colitis, proctitis, duodenal diverticula, malabsorption syndromes, hepatitis, cirrhosis, cysts, abscesses, pancreatitis, polyps, certain hemorrhoids, splenomegaly, hernias, recent abdominal surgery, GI bypass or stomach stapling, and artificial GI openings.

Did you know?

About one in five American adults and teenagers have had a genital herpes infection—and most of them don't know it. People with genital herpes have at least twice the risk of becoming infected with HIV if exposed to it than those people who do not have genital herpes.

Did you know?

The liver is the only organ that has the ability to regenerate itself after certain types of damage. As much as 25% of the liver can be removed, and it will still regenerate back to its original shape and size. However, the liver cannot regenerate after severe damage caused by alcohol.

Did you know?

There are major differences in the metabolism of morphine and the illegal drug heroin. Morphine mostly produces its CNS effects through m-receptors, and at k- and d-receptors. Heroin has a slight affinity for opiate receptors. Most of its actions are due to metabolism to active metabolites (6-acetylmorphine, morphine, and morphine-6-glucuronide).

For a complete list of videos, visit our video library