Question: URGENT! c language Glvon a code as in Figuro 5 with the corresponding memory map in Figure 6. 1. #include 2. #include 3. 4. int

URGENT! c language
URGENT! c language Glvon a code as in Figuro 5 with the
corresponding memory map in Figure 6. 1. #include 2. #include 3. 4.

Glvon a code as in Figuro 5 with the corresponding memory map in Figure 6. 1. #include 2. #include 3. 4. int main (void) { 5. int a, *b, c = 10, d = 11, e = 12; 6. b= &c; 7. printf("%p%p ", &c, &d); 8. printf("%p %d ", b, *b); 9. b=b-1; W 10. printf("%p %d", b, *b); 11. return 0; 12. } Figure 5: Code depicting usage of pointers 3 4 5 6 7 8 9 A B D E F 1 2 11 10 12 0065FDEO 0065FDFO 0065FEOO 0065FE10 0065FE20 0065FE30 0065FE41 00 65 FE 08 F 5 7 B 8 A 6 9 CDE 4 5 1 3 0 N 11 10 12 0065FDEO 0065FDFO 0065FEOO 0065FE10 0065FE20 0065FE30 006SFE41 00 65 FE 08 d C Figure 6: Simplified memory map (a) List down the address for variables b, c, d, and o. Based on Figure 5. solve for the output expected in line 7 (b) [5 Marks) [5 Marks) (5 Marks) [5 Marks) (c) Based on Figure 5, solve for the output expected in line 8. (d) Based on Figure 5, solve for the output expected in line 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!