Question: C++ only please Write a funciton that takes the array size as input, then it create a dynamic array with the given size, read it
C++ only please
Write a funciton that takes the array size as input, then it create a dynamic array with the given size, read it from the user and return it to the calller. int* readArray(int size); Test your function with the following main: int main() { int size=4 int *A = readArray(size): cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
