- 9 15 Points Given The Following Code Int Ptr1 Int Ptr2 Double Ptr3 Int X Which Of The Following Are Valid Sta 1 (48.99 KiB) Viewed 9 times
9. (15 points) Given the following code: int *ptr1; int *ptr2; double *ptr3; int x; Which of the following are valid sta
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
9. (15 points) Given the following code: int *ptr1; int *ptr2; double *ptr3; int x; Which of the following are valid sta
9. (15 points) Given the following code: int *ptr1; int *ptr2; double *ptr3; int x; Which of the following are valid statements? If they are invalid, explain why. a. ptr1= ptr2; b. ptr1= ptr3; c. ptr2 = &x; d. ptr3 = 5.7; e. *ptr1=22; f. x = ptr3; B. x = ptr2; h. x=&ptr1;