I have provided the screenshot of the code and the error is also visible i don't understand the error and will appreciatle any kind of help.
您需要创建一个指向数组的指针,然后将其赋予合并功能。或在指向数组的链接上替换merge(* int arr1,int n1,* int arr2,int n2,* int ans)
merge声明为void merge(int*, int, int*, int, int*)。但是在main中,您将其称为
merge
void merge(int*, int, int*, int, int*)
main