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 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
