Question: A reason for passing a pointer to a function is to avoid the overhead of copying large data structures. to allow the called function to

A reason for passing a pointer to a function is
to avoid the overhead of copying large data structures.
to allow the called function to modify a variable accessible to the calling function.
to allow easy access to data in the function that is being called.
to avoid the overhead of copying large data structures and to allow the called function to modify a variable accessible to the calling function are both true.
None of these

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!