Question: Help Asap for thumbs up #4 (10point The code on the left side is executed sequentially. The boxes on the right show the variables and
#4 (10point The code on the left side is executed sequentially. The boxes on the right show the variables and the adresses (in decimal) where they are located in memory. After the code for each part is fully executed, fill in each variable's box with its current value. Also, draw an arrow from each pointer variable to whichever variabie currently referencing. Assume 4 byte integers Update these boxes after the part's code has been fully executed Address Address /I Part (a) int x 125; int y int *p &y; int *w; - 1000 3000 Address Address 1004 /I Part (b) p 67; w 42 1000 Address Address 1004 :Address 3000 /1 Part (c) 1000 "(p+1) 100; = Address Address l y 4000 1004 // Part (d) w = NULL; "p 999 Address Address 3000 1000 AddressW Address 4000 1004
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
