Write out the memory map for the following code, providing all values at the end of execution. PLEASE just help me fill

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write out the memory map for the following code, providing all values at the end of execution. PLEASE just help me fill

Post by answerhappygod »

Write out the memory map for the following code,providing all values at the end of execution. PLEASEjust help me fill in the value part in the table I created. Alsomake corrections as needed but I need it in this table format. itseasier for me to understand.
Write Out The Memory Map For The Following Code Providing All Values At The End Of Execution Please Just Help Me Fill 1
Write Out The Memory Map For The Following Code Providing All Values At The End Of Execution Please Just Help Me Fill 1 (482.71 KiB) Viewed 25 times
double testd; int testi; struct frog { double *x,y; }; struct frog turtle, *apple, tv [3]; testi=2; apple=&turtle; apple->x=&testd; *(turtle.x)=7.3; 24 tv[0].x 25 tv[0].y 26 tv[1].x 27 tv[1].y 28 tv[2].x for (testi=0; testi<3; testi++) tv [testi].x=&(tv [(testi+1)%3].y) 29 tv[2].y *(tv [1] .x)=6.4; 30 18 variables 19 testd 20 testi 21 turtle.x 22 turtle.y 23 turtle.apple (*apple).y=3.6; turtle.y=1.5; address 400 - 407 408-411 412 - 415 416 423 - 424-427 428-431 432 - 439 440 - 443 444 - 451 452 - 455 456-463 value
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply