Question: Based on the code shown in Figure 4.2, modify the code so that it can read 100 numbers into the array and print the numbers

Based on the code shown in Figure 4.2, modify the code soBased on the code shown in Figure 4.2, modify the code so that it can read 100 numbers into the array and print the numbers of the array in reverse order, using a pointer.

d. Refer the code fragment in Figure 4.1. Draw diagrams that represent the implementation of the code char a = 'M', b = 'B', *pl, *p2; pl = ta; p2 = Eb; *p2 = *pl; cout #include using namespace std; int main() int arr[5], i; int "prarr; cout>>>* (p+1) >>* (p+2) >>* (p+3) >>* (p+4); 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!