Question: Consider the following C declarations and values. Assume 32 bit CPU and integers are 4 bytes. char A[128]; // A is 0x00040100 int B[20]; //

Consider the following C declarations and values. Assume 32 bit CPU and integers are 4 bytes.

char A[128]; // A is 0x00040100

int B[20]; // B is 0x00040200

int C[3][5]; // C is 0x00040300

char* D[10]; // D is 0x00040400

Evaluate the following C expression.

&(A[10])

A + 0x10

&(B[10])

B + 0x10

&(C[2][2])

&(D[2])

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!