Question: Use the following declarations and statements when solving Homework 2 int m, amt, k int* ptNum,amtAddr,zAddr,ptYr,numAddr amtAddr,ptDay ptNum = &m; amtAddr = &amt: * Addr

 Use the following declarations and statements when solving Homework 2 int

m, amt, k int* ptNum,amtAddr,zAddr,ptYr,numAddr amtAddr,ptDay ptNum = &m; amtAddr = &amt:* Addr = 25; k = *numAddr; ptDay = zAddr; *ptYr =

Use the following declarations and statements when solving Homework 2 int m, amt, k int* ptNum,amtAddr,zAddr,ptYr,numAddr amtAddr,ptDay ptNum = &m; amtAddr = &amt: * Addr = 25; k = *numAddr; ptDay = zAddr; *ptYr = 1987; *amtAddr = *numAddr; *ptNum = 23 The memory of the system is illustrated below: a. Variable: pt Num Address: 500 b. Variable: amtAddr Address: 564 Variable: zAddr Address: 8024 20492 Variable: numAddr Address: 10132 18938 c. Variable: ptDay Address: 14862 Variable: pt Yr Address: 15010 694 d. Variable: years Address: 694 e Variable: m Address: 8096 f. Variable: amt Address: 16256 Variable: firstnum Address: 18938 g. Variable: balance Address: 20492 h. Variable: k Address: 24608 Match the variable name labeled a through h. above, with the variable's value, indicated by the empty boxes above. Variable: ptNum a. Contents: 8096 - Variable: amtAddr b. Contents: 154 Variable: ptDay C. Contents: 1987 Variable: years d. Contents: 25 - Variable: m e. Contents: 20492 Contents: 16256 Variable: amt Variable: balance Variable: k g. Contents 23

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!