并不是很难的问题,但是自己思考测试独立完成的,保存于此,给自己一点鼓励。

/*Author:SwordAutumn2015年 04月 08日 星期三 15:35:00 CST*/#include 
//const int N=3;//const int M=2;#define N 5#define M 5int main(int argc, char const *argv[]){    int i,j,k;    int a[N][M];    int b[M][N];    printf("Input A[%d][%d]=\n",N,M);    for(i=0;i