Question: C++ 9. What is the output? // array variables are created as pointers int a = 6, b[ ] = {2, 5, 12, 23}; int

C++
C++ 9. What is the output? // array variables are created as

9. What is the output? // array variables are created as pointers int a = 6, b[ ] = {2, 5, 12, 23}; int *pti, *pt2, *pt3; pt1 = &a; pt2 = b; // pt2 = &b would generate an erro pt3 = &b[0]; cout

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!