Question: Which of the following statements declares a five-element array named population? a. int population[4] = {0}; b. int population[5] = {0}; c. int population[4] =

Which of the following statements declares a five-element array named population?

a. int population[4] = {0};

b. int population[5] = {0};

c. int population[4] = 0

d. int population[5] = {0}

Use the sales array to answer Review Questions 3 through 7. The array was declared using the int sales[5] = {10000, 12000, 900, 500, 20000}; statement.

Step by Step Solution

3.49 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

b in... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related An Introduction Programming Questions!