- 22
- 0
- 约6.73千字
- 约 7页
- 2021-11-18 发布于内蒙古
- 举报
练习与思考 8
8.1 选择题
(1) 有以下定义及语句,则对数组 a 元素的不正确引用的表达式是( )。
int a[4][5];*p[2],j;
for (j = 0 ; j 4 ; j++)
p[j]=a[j];
A ) p[0][0] B )*(a+3)[4]
C )*(p[1]+2) D )*(a[0][0]+3)
(2) 有以下程序
#include stdio.h
struct tt
{int x;struct tt *y;} *p;
struct tt a[4]={20,a+1,15,a+2,30,a+3,17,a};
main()
{ int i;
p=a;
for(i=1;i=2;i++) {printf(%d,,p-x); p=p-y;}
原创力文档

文档评论(0)