0_0_16398035_5071.cpp: In function 'void merge_sort(int, int)':
0_0_16398035_5071.cpp:51:24: error: invalid conversion from 'int*' to 'int' [-fpermissive]
merge_sort(a,p,centre);
^
0_0_16398035_5071.cpp:51:24: error: too many arguments to function 'void merge_sort(int, int)'
0_0_16398035_5071.cpp:45:6: note: declared here
void merge_sort(int p,int r)
^
0_0_16398035_5071.cpp:52:26: error: invalid conversion from 'int*' to 'int' [-fpermissive]
merge_sort(a,centre+1,r);
^
0_0_16398035_5071.cpp:52:26: error: too many arguments to function 'void merge_sort(int, int)'
0_0_16398035_5071.cpp:45:6: note: declared here
void merge_sort(int p,int r)
^
0_0_16398035_5071.cpp:53:21: error: invalid conversion from 'int*' to 'int' [-fpermissive]
merge(a,p,centre,r);
^
0_0_16398035_5071.cpp:53:21: error: too many arguments to function 'void merge(int, int, int)'
0_0_16398035_5071.cpp:11:6: note: declared here
void merge(int p,int centre,int r)
^
|