Question: What would be the change in the memory after executing the 6th instruction? 1. & = address of * = dereference 2. 3. int x,

What would be the change in the memory after executing the 6th instruction? 1. & = "address of" * = "dereference" 2. 3. int x, y; x 0; y = 0x3CD02700; X = y + 3; int* z &y + 1; 32-bit example |(pointers are 32-bits wide) 4. Ox02 Ox03 5. *2 = y; DO 3CX Ox00 Ox01 Ox00 Ox04 03 27 Ox08 Ox Ox10 Ox14 Ox1800 27 Ox1c Ox20 Ox24 DO 3CY N the value stored in z would be the same as x the value stored in z would be the same as y the value stored in address Ox24 will be the same as y the value stored in address Ox1C will be the same as y the value stored in address Ox20 will be the same as y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
