Can you get input in double pointer after scanf? Is this wrong? I have malloced the array in the main function.
void input(int **array, int x, int y){
int s,t;
printf("array element:\n");
for(s = 0; s < x; s++){
for(t = 0; t < y; t++){
scanf("%d", array[s][t]);
}
}
} ```