Question: 2. ACH float a, pa: float b, pbi float a-3.0 b 1.9: pa sa: pb &bi *pb0.5: Suppose each floating-point number occupies 4 bytes of
2. ACH float a, pa: float b, pbi float a-3.0 b 1.9: pa sa: pb &bi *pb0.5: Suppose each floating-point number occupies 4 bytes of memory. Assume further that the address of variable a is 128800, the address of variable b is 128804, and the address of variable c is 128808. Draw a layout of memory, its variables and its pointers. Then answer the following questions. i) What value is assigned to pa? i) what value is represented by . (up ili) What value is represented by pa? iv) What value is represented by &(pb)? v) What value is assigned to c? what value is assigned to pb
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
