Question: please explain me this question ( programming c ++) What are the values of trouble and *pt after the following program fragment has been executed?

 please explain me this question ( programming c ++) What are

please explain me this question ( programming c ++)

What are the values of trouble and *pt after the following program fragment has been executed? float trouble = 8.8; float *pt; pt = &trouble; *pt = 5.5; (a) trouble is 8.8, *pt is 5.5 (b) trouble is 5.5, *pt is 5.5 (c) trouble is undefined, *pt is 5.5 (d) trouble is 8.8, *pt is undefined (e) trouble is 5.5, *pt is 8.8

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!