#C [Warning] assignment from incompatible pointer type : this is my school project and i only make skeleton but compiler says "[Warning] assignment from incompatible pointer type" i change some pointers but it cant works anyone can help me?

        #include <stdio.h>
    #include <stdlib.h>
    
    
    
    int main(int argc, char *argv[]) {
    	
    	int *col_num,*row_num,**matrix;
    	double k,l;
    	int i,j;
    	
    	printf("Enter your column number:\n");
      scanf("%d",&col_num);
      printf("Enter your row number:\n");
      scanf("%d",&row_num);
    	
    	matrix[*col_num] = (int **)malloc(*col_num * sizeof(int));
    	if (matrix[*col_num]==NULL)
    	     printf("No free Memory!");
    	matrix[*row_num] = (int **)malloc(*row_num * sizeof(int));
    	if(matrix[*row_num]==NULL)
    	   printf("No free Memory!");
    	
    	for(i=0;i<*col_num;i++)
    	 for(j=0;j<*row_num;j++){
    	 	
    	 	printf("Please Enter %d%d matrix:",i+1,j+1);
    	 	scanf("%lf",&matrix[i][j]);
    	 }
    	   
    	   for(i=0; i<*col_num; i++){
            for(j=0; j<*row_num; j++){
                printf("%d ", matrix[i][j]);
            }
            printf("\n"); 	   
    }
    
    
    
    	
    	free(matrix);
    	return 0;
    }