Question: printMyArray ( arr, size ) ; / / Create a prototype for printMyArray function int main ( ) { int i; int / / Create
printMyArray
arr,
size; Create a prototype for printMyArray function
int main
int i;
int
Create a stacked array which is called myArray, store integer elements
for ;
;
myArray
; Create random number and range is
call printMyArray function and print your array elements
send address of the first item of myArray
return ;
void printMyArray int arrPtr int size
int ;
for size ;
std::cout l; print array elements
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
