有以下程序
#include <stdio.h>
#define N 4
Void fun(int a[][N],int b[])
{ int i;
For(i=0;i<N;i++) b[i]=a[i][i];
}
Main()
{ int x[][N]={{1,2,3},{4},{5,6,7,8},{9,10}},y[N],i;
Fun(x,y);
For(i=0;i<N;i++) printf("%d,",y[i]);
Printf("\n");
}
程序的运行结果是______。
A.1,2,3,4, B.1,0,7,0, C.1,4,5,9, D.3,4,8,10,正确答案B