Question: Run the Array Addresses C + + Program given in PPT 8 , approx slide 8 6 . Answer: Why are addresses in this order

Run the Array Addresses C++ Program given in PPT 8, approx slide 86. Answer: Why are addresses in this order & why are some addresses skipped? Upload the results with your answer.
Array Addresses in Ct+
#include
using namespace std;
int main()
{
int A[10];
cout "address of A =" &A endl; // Base Address of A
int index =0;
while (index10)// Printing the first 10 addresses, for each index
{
cout "Address of A[" index "]=" &(A[index]) endl;
index++;
}
}
Run the Array Addresses C + + Program given in

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 Programming Questions!