Question: Draw out the memory diagram after sequential execution of each of the lines below: int main(int argc, char **argv) { } int x =
Draw out the memory diagram after sequential execution of each of the lines below: int main(int argc, char **argv) { } int x = 410, y = 350; // assume &x=0x10,&y=0x14 int *p &x; // p is a pointer to an integer *p = y; p=p+ 4; p=&y; x = *p + 1; Line 1: Line 4: X X Line 2: Line 5: X D X Line 3: Line 6: X X
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
