单项选择题

有以下程序
  main( )
   int a[3][3],*p,i;
   p=&a[0][0];
   for(i=0;i<9;i++) p[i]=i+1;
   printf("%d \n",a[1][2]);
  
  程序运行后的输出结果是
A)3
B)6
C)9
D)2