Question: C++. 12. As we ve seen, when we use an array s name, we are really using a pointer to access the first element in
C++.

12. As we ve seen, when we use an array s name, we are really using a pointer to access the first element in that array. Given int ia0,2,4;, we can access the second element (at the first index) of the array by writing ia [1] (a) Write an equivalent expression to access the second element of the array using the array s base address, pointer arithmetic, and the dereference operator (b) Detail how pointer arithmetic calculates the address of the second element in the array from the base address
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
