Che problema hai?

A me funziona.

Che compilatore usi?

per stampare la matrice:

codice:
void visualizza (char*s, int**x,int rig,int col) 
{ 

    int i,j;
    printf("\n\n%s", s); 

    for (i=0;i<rig;i++){
        for (j=0;j<col;j++) 
                printf("%d  ", x[i][j]);
        printf("\n");
    }
    printf("\n");
}
Per la prossima volta indenta il codice con il ta CODE