Final answer:
You should make a parameter a reference style parameter by using a pointer when you need the function to change the actual value of the argument passed.
Step-by-step explanation:
The question at hand is regarding when to make a parameter a reference style parameter in programming by using a pointer. The correct answer is B) you need the function to change the value of the argument passed to the function. A reference parameter is used when the function is supposed to alter the original value of the variable passed to it. By passing a parameter by reference (using a pointer in languages like C or C++), any changes made to the parameter in the function will reflect on the original argument. This is essential in scenarios such as updating the state of an object, manipulating a large structure without making a copy for efficiency, or when it's required to maintain the changes made by the function after it returns.
A parameter can be made a reference style parameter by making it a pointer when you need the function to change the value of the argument passed to the function. By using a pointer as a parameter, the function has access to the actual memory location of the argument, allowing it to modify the value directly in the calling code. This is useful when you want the function to have a side effect on the original argument.