2. Write C++program to do the following: a. Declare a dynamic array named dArrayl type int which size [100]; b. Initialize the dynamic array with int number. C. Display all values in the dynamic array...


2. Write C++program to do the following:<br>a. Declare a dynamic array named dArrayl type int which size [100];<br>b. Initialize the dynamic array with int number.<br>C. Display all values in the dynamic array dArrayl<br>d. Declare a dynamic array named dArray2 as the same type and size as 2(a).<br>Copy the values of the array dArray1 to dArray2.<br>Delete the dynamic array dArrayl<br>g. Display all values in the dynamtc array dArray2<br>stress<br>he<br>O poind p the sime<br>red<br>[hint: you should use 2 different pointers]<br>千<br>[15 minutes]<br>

Extracted text: 2. Write C++program to do the following: a. Declare a dynamic array named dArrayl type int which size [100]; b. Initialize the dynamic array with int number. C. Display all values in the dynamic array dArrayl d. Declare a dynamic array named dArray2 as the same type and size as 2(a). Copy the values of the array dArray1 to dArray2. Delete the dynamic array dArrayl g. Display all values in the dynamtc array dArray2 stress he O poind p the sime red [hint: you should use 2 different pointers] 千 [15 minutes]

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here