解决方案
20
14行改为:
c = (int **)malloc(sizeof(int *) * len1);
10
c=malloc(sizeof(int*)*len1); //改为: c=(int**)malloc(sizeof(int*)*len1);
20
c = (int **)malloc(sizeof(int *) * len1);
10
c=malloc(sizeof(int*)*len1); //改为: c=(int**)malloc(sizeof(int*)*len1);