Question: Given an array that holds chars, 26 in all, and is filled with the letters of the alphabet (a-z), we will write a function starting

 Given an array that holds chars, 26 in all, and is

Given an array that holds chars, 26 in all, and is filled with the letters of the alphabet (a-z), we will write a function starting with the header and then follow with the body. This function accepts the array as a pointer (AS A POINTER ONLY), and displays the values of the addresses using the pointer and using pointer arithmetic to traverse through it. The program should move the pointer through to the end, and then from there, move back towards the front, this time printing the values as it goes backwards. Note that printing addresses in the c-string array does not work (easily) using cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!