单项选择题

有以下程序:
#include<stdio.h>
main()
int a[]=1,2,3,4,y,*p=&a[3];
--p;y=*p;printf("y=%d\n",y);

程序的运行结果是______。

A.y=0
B.y=1
C.y=2
D.y=3