Question: This question has to do with the following array declarations: int a 1 [ 1 0 ] ; int * ap 1 [ 1 0

This question has to do with the following array declarations:
int a1[10];
int *ap1[10];
char v[128];
a. How many bytes will be allocated for the array a1?
b. If the address of ap1 is x, what would the expression &ap1[5] evaluate to?
c. What constraints apply to the starting address of the array v?
d. What, if anything, can you say about the value of the expression a1+8?

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!