问题
单项选择题
有以下语句,则对a数组元素的引用不正确的是(0≤i≤9)
int a[10]=0,1,2,3,4,5,6,7,8,9,*p=a;
A)a[p-a]
B)*(&a[i])
C)p[i]
D)*(*(a+i)
答案
参考答案:D
解析: 本题考查数组指针的应用。选项D)第一层括号中为数组a中第i项元素的值,外面再加指针运算符没有意义。
有以下语句,则对a数组元素的引用不正确的是(0≤i≤9)
int a[10]=0,1,2,3,4,5,6,7,8,9,*p=a;
A)a[p-a]
B)*(&a[i])
C)p[i]
D)*(*(a+i)
参考答案:D
解析: 本题考查数组指针的应用。选项D)第一层括号中为数组a中第i项元素的值,外面再加指针运算符没有意义。
完形填空. | |||
Some people have very good memories and can easily learned quite long poems(诗歌) 1 _ heart. 2 people have poor memories and can only remember thingswhen they have said them 3 and over again. The famous English writer, Charles Dickens, said that he could walk down anylong street in 4 and then told you t'he name of all the shops he had 5 . Many great men of the world have wonderful memories. A good memory is 6 great help in learning a language. Everybody learns 7 0wn language by remembering what he hears when he was a small child. somechildren like those who live in foreign countries with their parents, seems to learn two.languages as 8 as they do one. In school, it is not so easy for people to learn 9 second language because they have very 10 time for it. | |||
|