Question: 8 . 1 . 3 : Why pointers: Pass by pointer example. 6 0 1 4 5 0 . 4 2 3 2 8 9

8.1.3: Why pointers: Pass by pointer example.
601450.4232898.qx3zqy7
Jump to level 1
Define function TranslatePoint() with two pass-by-pointer integer parameters, xValue and yValue, representing the x and y coordinates of a point. The return type of TranslatePoint() is void. TranslatePoint() should perform the following tasks:
Update the x coordinate's value with the x coordinate's current value increased by 3.
Update the y coordinate's value with the y coordinate's current value increased by 35.

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 Programming Questions!