Assignment on Pointers × + LT X ? ? O ? ?https://csus.instructure.com/courses/35
ID: 3906917 • Letter: A
Question
Assignment on Pointers × + LT X ? ? O ? ?https://csus.instructure.com/courses/35025/assignments/269876 8. printf ( " %d ".* cPtr1 ) ; .// what does it print 9. printf "%d cPtr2); // what does it print Account 10 y 30 printf ( " %d ", * cPirl ) ; "// what does it print Courses Calendar // consider this and answer Question 11 and 12 cPtr2-cData 2 Inbox Help 11, printf(" %d ". . cPtr2); .//what does it print 12, printf ( " %d " , * cPtr1 ) ; :// what does it print Type here to search 1H343 PM 6/20/2018 19Explanation / Answer
15)
In this statement *extraPtr1 is defined and assigned a value 10.
But extraPtr1 is a pointer variable and it can only store an address of integer variable.
It can not store literal value 10.
16)
In this code, c is not initialised and integer variable stores address of c.
it is better if extraPtr2 is an integer pointer instead of variable to store the address of c.
If address of c can not be accomodate into memory used for integer then it will cause overflow.
you need to upload code used in questions above 8. I can not answer without knowing previous code.
If you have any doubts regarding 15 and 16 then you can ask here.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.