intmain(){ int**p;//定义二维指针。intm,n;//行数和列数。inti,j;scanf("%d%d",&m,&n);//输入行数和列数。if(m<=0||n<=0)return-1;//行数或列数非法。p=(int**)malloc(sizeof(int*)*m);//申请一组一维指针空间。for(i=0;i<m;i++)p[i]=(int*)malloc(sizeof(int...