Question: Fill in the blanks of C + + code below. ! ! ! DO NOT USE ANY WHITESPACE ! ! ! #include Blank printMyArray (

Fill in the blanks of C++ code below.
!!! DO NOT USE ANY WHITESPACE !!!
#include
Blank printMyArray (
Blank arr,
Blank size); //Create a prototype for printMyArray function
int main (){
int i;
int
Blank; //Create a stacked array which is called myArray, store 25 integer elements
for (i =0;
Blank 25;
Blank)
{
myArray[i]=(
Blank %
Blank)-
Blank; //Create random number and range is [-15,59]
}
//call printMyArray function and print your array elements
//send address of the first item of myArray
Blank (&
Blank,
Blank);
return 0;
}
void printMyArray (int *arrPtr, int size){
int i;
for (i =0; i < size; i++)
{
std::cout<<*(
Blank)<<; //print array elements
}
}

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 Databases Questions!