单项选择题

有以下程序:
main()

int a[10]=1,2,3,4,5,6,7,8,9,10),*p=&a[3],*q=p+2;
printf("%d\n",*p+*q);

程序运行后的输出结果是( )。

A.16
B.10
C.8
D.6