Q. Which of the following is the correct way to define a function with a pointer parameter in C++?
β
Correct Answer: (A)
void myFunction(int *x) { }
Explanation: The correct way to define a function with a pointer parameter is 'void myFunction(int *x) { }'.