Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Assignment on Pointers × + LT X ? ? O ? ?https://csus.instructure.com/courses/35

ID: 3906919 • Letter: A

Question

Assignment on Pointers × + LT X ? ? O ? ?https://csus.instructure.com/courses/35025/assignments/269876 Consider this and answer Question 17 and 18 short sh; short 'shortPtr1- sh ; // Question 17 short 'shortPtr2- &sh; //Question 18 Account 17: is that a good statement ? Courses 18: is that a good statement? Calendar // consider these statements below and answer 19 - 29 char charData [ 10]-0x80, 0x50, 0x19, 0x12, 0x23, 0x43, 0x87, 0x34; Inbox int "numPtr charData+5 Help 19 what is the value of charData [ 71: Type here to search 1H343 PM 6/20/2018 19

Explanation / Answer

17) No 18) Yes 19) 0x34 which is an ASCII value for '4' 20) There is no compilation error. but numPtr is not pointing to a valid memory address.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote