Question: #include main() { char a, *b, c[3]; int i, *j , k[3]; a = N; b = &(c[2]); j = &(k[0]); for (i=0; i <3;

#include

main()

{

char a, *b, c[3];

int i, *j , k[3];

a = N;

b = &(c[2]);

j = &(k[0]);

for (i=0; i<3; i++)

{

*b = a - (char) i;

b--;

*j = i + 5;

j++;

}

} Write out the memory map for the following code. provide all values during and at the end of execution.

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!