I have a following sample function in a file which contains only function definitions like this.
void mul(int x, int y, int& out, int* arr) {
arr[0] = 2;
arr[1] = 1;
out = x * y;
}
I want to convert it to
void mul(int x, int y, int& out) {
out = x * y;
}
file contains only above function definitions.