单项选择题

下面程序的输出结果是()。
void main(){int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a;printf("%d\n",*(p+2));}

A.3
B.4
C.1
D.2