【单选题】【消耗次数:1】
若用数组名作为函数调用的实参,传递给形参的是()。
数组的首地址
数组中第一个元素的值
数组中的全部元素的值
数组元素的个数
参考答案:
复制
纠错
相关题目
【单选题】 若用数组名作为函数调用的实参,传递给形参的是?
①  数组的首地址
②  数组中第一个元素的值
③  数组中全部元素的值
④  数组元素的个数
【单选题】 若用数组名作为函数调用的实参,则传递给形参的是(  )。
①  数组的首地址
②  数组的第一个元素的值
③  数组中全部元素的值
④  数组元素的个数
【单选题】 用数组名作为函数调用时的实参,则实际传递给形参的是()
①  数组的第一个元素值
②  数组中全部元素值
③  数组的首地址
④  数组的元素个数
【简答题】 数组名作函数参数,向形参传递的是数组元素第一个元素的[填空1]。
【简答题】 数组元素作函数实参,向形参传递的是数组元素的[填空1]。
【判断题】 以变量名作为函数参数时,传递的信息是变量的值;以数组名作为函数参数时,传递的信息是实参数组首元素的地址。
①  正确
②  错误
【单选题】 当调用函数时,实参是一个数组名,则向函数传送的是( )。
①  数组的长度
②  数组的首地址
③  数组每一个元素的地址
④  数组每个元素中的值
【判断题】 数组作为函数参数有两种方法,分别是单个数组元素作函数参数和数组名作函数参数。
①  正确
②  错误
【判断题】 以变量名作为函数参数时,不能改变实参变量的值;以数组名作为函数参数时,可以改变实参数组的值。
①  正确
②  错误
【判断题】 数组元素的指针就是数组元素的地址。
①  正确
②  错误
随机题目
【单选题】 Haven’t seen you for ages! What are you busy doing now?____________
①  I hate the weather here.
②  My hair is getting a bit longer.
③  I am working part time in a bookshop, you know.
④  Yeah, thanks for coming.
【单选题】 We are planning an outing. _________ Sure.
①  Where are you going?
②  When will you leave?
③  How is everything?
④  Do you want to join us?
【单选题】 It is dangerous to ______ outdated(过时的) ideas and theories.
①  cling to
②  strive for
③  run through
④  resort to
【单选题】 I had my meals ______ when I was ill in bed with a bad cold.
①  to bring
②  bring
③  brought
④  bringing
【单选题】 Don’t make faces in class.____________
①  Excuse me, I am wrong.
②  Certainly, I will.
③  That’s OK.
④  Sorry, I won’t do it again.
【单选题】 He offered to ___ her a hand as the suitcase was too heavy for her to carry.
①  lend
②  help
③  grant
④  loan
【单选题】 Our new house is very ____ for me as I can get to the office in five minutes.
①  adaptable
②  convenient
③  available
④  comfortable
【单选题】 Have you any oranges and apples?____________
①  The oranges are very cheap.
②  You like apples, dont you?
③  Of course, we have some fruits.
④  Yes, madam, on the second shelf over there.
【单选题】 the old couple decided to ____ a boy and a girl though they had three of their own.
①  adapt
②  bring
③  receive
④  adopt
【单选题】 I will count three hundred and not one of you ______ move a bit.
①  is to
②  are to
③  is
④  are