Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1Lintx 100; int iDatal 1-100,200, 300, 400) int iPtr1,iPtr2 a. Fill in the blank, I need iPtr1 point to x iPtri = x ; b.
1Lintx 100; int iDatal 1-100,200, 300, 400) int "iPtr1,"iPtr2 a. Fill in the blank, I need iPtr1 point to x iPtri = x ; b. print( . %d",--iPtri ) ; // Fill in the blank, I need to dereference to print c. Fill in the blank, I need iPr2 point to the array iData d. printt( "%d ", * iPtr2 ) ; "// what does it print now e. Then, l am incrementing the pointer iPtr2 like this statement below iPtr2++ printt ( . %d Vn ., * iPtr2 ) ; :// what does it print f. Thenam incrementing iPtr2 again like this statement below. iPtr2++; print( "%d ", *iPtr2 ) ; .// what does it pr.nt g. Let us now have this statement below. make iPtr2 point to iPtr1 iPtr2 iPtr1 printt( "%d", * iPt2 ) ; .// what does it print
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started