有以下程序:#includemain(){inta[]={1,2,3,4},y,
2024-08-29 122次 计算机二级 反馈错误 加入收藏 正确率 : 100%
题目内容:
[单选题]有以下程序:includemain(){inta[]={1,2,3,4},y,*p=&a[3];££p;y=*p;printf("y=%d/n有以下程序: #include<stdio.h> main() {inta[]={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
本题链接: