Question: Fill in the boxes below with the addresses and values for the nodes array. Using the boxes below you are to draw the representation of
Fill in the boxes below with the addresses and values for the nodes array. Using the boxes below you are to draw the representation of the nodes array declared above (including variables and their values).
struct NODE{
int a;
struct NODE *b;
struct NODE *c;
};
struct NODE nodes[5] = {
{20, nodes + 3, NULL},
{59, nodes + 2, nodes + 4},
{8, NULL, nodes + 1},
{44, nodes + 4, nodes},
{32, nodes + 1, nodes + 3}
};
struct NODE *np = nodes + 2;
struct NODE **npp = &nodes[1].b;
Address 0x200 Address of a: Address Address of a: Address. Address of a: Address Address of a: Address Address of a: Value of a: Value of a: Value of a: Value of a: Value of a: Address of b: Address of b: Address of b: Address of b: Address of b: Value of b: Value of b: Value of b: Value of b: Value of b: Address of c: Address of c: Address of c: Address of c: Address of c: Value of c: Value of c: Value of c: Value of c: Value of c: nodes nodes nodes nodes nodes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
