Question: C++ Use the pointer ptr to print the third element of the array. 1 #include 2 using namespace std; 3int main) 4 int arr[]; int

C++ Use the pointer ptr to print the third element of the array.

C++ Use the pointer ptr to print the third element of the

1 #include 2 using namespace std; 3int main) 4 int arr[]; int ptr for(int i++) 1-0; cin > arr[i]; 165 10 //write your code herel 12 13 14 15 16 return 9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!