NEED HELP! Write a program called "pointerArray.cpp" using knowledge of pointer. The program must illustrate the use of

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

NEED HELP! Write a program called "pointerArray.cpp" using knowledge of pointer. The program must illustrate the use of

Post by answerhappygod »

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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply