Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I posted this 2 parts of the question separately but the answers given were wrong. Also, 0x_2C is also wrong. 0x_04 is also wrong. Please
I posted this 2 parts of the question separately but the answers given were wrong.
Also, 0x_2C is also wrong.
0x_04 is also wrong.
Please answer them correctly. I think it has to be done with best fit.
Question 1 1 pts Given the following heap diagram with block headers, requiring double-word alignment, and using a next- nt policy: 0x 00 x 08 0x 10 x 18 0x 20 x 28 0x 30 x 38 0x 40 16/1 1AD 8/0 If the block at address Ox_24 was the most recent allocated, what address is assigned to ptr for the heap request below: ptr = malloc (2 * sizeof (char)); Use the same format for your answer as shown in the diagram above "Ox_NN" without any spaces, no quotes and where N is a digit. 0x.30 Question 1 1 pts Given the following heap diagram with block headers, requiring double-word alignment, and using a next- nt policy: 0x 00 x 08 0x 10 x 18 0x 20 x 28 0x 30 x 38 0x 40 16/1 1AD 8/0 If the block at address Ox_24 was the most recent allocated, what address is assigned to ptr for the heap request below: ptr = malloc (2 * sizeof (char)); Use the same format for your answer as shown in the diagram above "Ox_NN" without any spaces, no quotes and where N is a digit. 0x.30Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started