Question 1 Question 1 I. Suppose that we have made the declarations short CRI18
ID: 3738784 • Letter: Q
Question
Question 1 Question 1 I. Suppose that we have made the declarations short CRI18 short *p, w, . long TRI1SI-111,21,31,41,51,61,71,81 lon "Mll-{ CR-1, CR-10, CR+2}: deuble K|10117 double "sptrl; * we now make the following assignments/ P-&CRI2; purpose of this exercise assume the address for CR is 3400, address for TR is 4500, address for M is 9000 and the address for K is 7500. Here addresses are given in base 10. Answer the following (a) Determine w (b) determine w-p; (c) pt4 Determine p (d) w+-2 (e) Determine MI2 (0 Determine MIZ determine w (g) determine sptri (h) sptrl++ determine sptrl 888 aExplanation / Answer
If you need any help Please comment.
(a) Determine w
Answer = 3416
(b) Determine w-p
Answer = 6
(c) p+=4
Determine p
Answer = 3412
(d) w+=2
Determine w
Answer = 3420
(e) Determine M[2]
Answer = 3404
(f) Determine *M[2]
Answer = Garbage value because no value assign to CR+2 which is M[2]
(g) Determine sptr1
Answer = 7668
(h) sptr1++
Determine sptr1
Answer = 7676
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.