问题
单项选择题
下面关于数组的描述错误的是( )。
A.在C++语言中数组的名字就是指向该数组第一个元素的指针
B.长度为n的数组,下标的范围是0~n-1
C.数组的大小必须在编译时确定
D.数组只能通过值参数和引用参数两种方式传递给函数
答案
参考答案:D
解析:本题考查的是数组的基本使用,数组还可以通过对应的指针调用 传递参数,其余选项的说法都是正确的。
下面关于数组的描述错误的是( )。
A.在C++语言中数组的名字就是指向该数组第一个元素的指针
B.长度为n的数组,下标的范围是0~n-1
C.数组的大小必须在编译时确定
D.数组只能通过值参数和引用参数两种方式传递给函数
参考答案:D
解析:本题考查的是数组的基本使用,数组还可以通过对应的指针调用 传递参数,其余选项的说法都是正确的。
阅读理解。 | |
living, too. John's story began in a very small city in England. His parents were very poor. Seven people lived in their small house. John had no place to play but in the street. John's father often played football. Little John wanted to play football, too. So his father made a nice ball for him to play. The little boy played with it every day. At last John learned to play with a real football, and after a few years he could play football very well. | |
1. Many people live with _____________. | |
[ ] | |
A. their feet B. their arms C. their heads D. their hands | |
2. How many people lived in John's small house? | |
[ ] | |
A. Five. B. Six. C. Seven. D. Eight. | |
3. John had no place to play but in the street because _____________. | |
[ ] | |
A. John's house was very small B. the street was a good place to play C. John didn't want to go to other places D. John's father didn't let him go | |
4. John played football every day _____________. | |
[ ] | |
A. on the playground B. in the street C. at home D. at school | |
5. John became a _____________ when he grew up. | |
[ ] | |
A. runner B. football coach C. basketball player D. football player |