NEED HELP! Write a program called "pointerArray.cpp" using knowledge of pointer. The program must illustrate the use of
Posted: Sat May 14, 2022 3:46 pm
NEED HELP!
Write a program called "pointerArray.cpp" using knowledge of
pointer. The program must illustrate the use of a pointer that
point to the content of an array and to display the contents of an
integer array {5, 10, 15, 20, 25, 30, 35, 40} in order and reverse
order. For example the output should be as follows: The numbers in
the array are: 5 10 15 20 25 30 35 40 The numbers in reverse order
are: 40 35 30 25 20 15 10 5
Write a program called "pointerArray.cpp" using knowledge of
pointer. The program must illustrate the use of a pointer that
point to the content of an array and to display the contents of an
integer array {5, 10, 15, 20, 25, 30, 35, 40} in order and reverse
order. For example the output should be as follows: The numbers in
the array are: 5 10 15 20 25 30 35 40 The numbers in reverse order
are: 40 35 30 25 20 15 10 5