void Printarr(int col, int **arr){
for(int i = 0; i < col; i++){
for(int j = 0; j < col; j++)
printf("%d ", arr[i][j]);
printf("\n");
}
}
this is function for printing array.
int main(){
int col = 0;
scanf("%d", &col);
int abc[col][col];
for(int i = 0; i < col; i++){
for(int j = 0; j < col; j++){
abc[i][j]=0;
}
}
and I want to print array abc.
Printarr(col, abc);
the error is when it run this code Printarr(col, abc);
No matching function for call to 'Printarr'