Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions