Question: CPP: Use pointer notation to fill an array with 20 random numbers between 1 and 100 Create a function that creates an array, fills it

CPP:

  1. Use pointer notation to fill an array with 20 random numbers between 1 and 100
  2. Create a function that creates an array, fills it with 10 numbers of the users choice and then returns the array.
  3. Create a function that creates an array fills it with 10 random numbers and then returns the array.
  4. Use pointer notation in main (using new) to create an array that is dynamically allocated. Fill it with 10 random numbers between 1 and 100 and then output the contents of the array to main using pointer notation.
  5. Create a function that takes in an array and a vector. It should transfer all content from the vector to the array.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!