0_0_28169833_23784.cpp: In function 'int* sort(double*)':
0_0_28169833_23784.cpp:30:12: error: cannot convert 'double*' to 'int*' in return
return arr;
^
0_0_28169833_23784.cpp: In function 'int main()':
0_0_28169833_23784.cpp:41:12: error: cannot convert 'int*' to 'double*' in assignment
JoF=(int *)malloc(sizeof(double )*n);
^
0_0_28169833_23784.cpp:48:12: error: cannot convert 'int*' to 'double*' in assignment
JoF=sort(JoF);
^
|