单项选择题

14.有以下程序:
 
#include
main()
{    int n[5]={0,0,0},i,k=2;
for(i=0;i printf("%d",n[k]);
 
}
该程序的输出结果是(   )。
A.
不定值 B.
2 C.
1 D.
0