【单选题】【消耗次数:1】
当调用函数时,实参是一个数组名,则向函数传送的是( )。
数组的长度
数组的首地址
数组每一个元素的地址
数组每个元素中的值
参考答案:
复制
纠错
相关题目
【单选题】 假定a为一个整数类型的数组名,整数类型的长度为4,则元素a[4]的地址比a数组的首地址大多少个字节?
①  4
②  8
③  16
④  32
【判断题】 假设A是一维数组名,则*A和A[0]访问的是同一个数组元素。
①  正确
②  错误
【简答题】 数组名作函数参数,向形参传递的是数组元素第一个元素的[填空1]。
【判断题】 以变量名作为函数参数时,传递的信息是变量的值;以数组名作为函数参数时,传递的信息是实参数组首元素的地址。
①  正确
②  错误
【单选题】 假定a为一个字符数组名,则a[8]的地址比该数组的首地址大( )个字节。
①  4
②  8
③  16
④  32
【单选题】 假定a为一个字符数组名,则a[8]的地址比该数组的首地址大( )个字节。
①  4
②  8
③  16
④  32
【单选题】 若用数组名作为函数调用的实参,则传递给形参的是(  )。
①  数组的首地址
②  数组的第一个元素的值
③  数组中全部元素的值
④  数组元素的个数
【简答题】 数组元素作函数实参,向形参传递的是数组元素的[填空1]。
【判断题】 结构体数组的每一个数组元素都是一个结构体类型的数据。
①  正确
②  错误
【单选题】 用数组名作为函数调用时的实参,则实际传递给形参的是()
①  数组的第一个元素值
②  数组中全部元素值
③  数组的首地址
④  数组的元素个数
随机题目
【单选题】 3.In the few months of the war his army seemed ______ , but soon it met its Waterloo.
①  strong
②  . vincible
③  invincible
④  popular
【单选题】 4. Many heads of the state attended the celebration ____ the tenth anniversary of the founding of the country.
①  marking
②  recognizing
③  counting
④  happen
【单选题】 20.Old Tom is _____the weather for a day or two.
①  above
②  for
③  in
④  under
【单选题】 17._____ of English is essential for those who apply for the post.
①  Good knowledge
②  A good knowledge
③  Good knowledges
④  The good knowledge
【单选题】 14.We should plant trees on _______ side of the road.
①  each
②  some
③  every
④  many
【单选题】 5. As he is recovering, he has grown more confident and _______ about life.
①  pessimistic
②  positive
③  negative
④  interested
【单选题】 8.She no longer has that______ smile as before, but instead carries the sad look of a mother who has just lost her son.
①  careless
②  carefree
③  interested
④  sick
【单选题】 15. He was determined to cross _____of the Atlantic Ocean by sailing westwards.
①  dangerous water
②  the dangerous water
③  the dangerous waters
④  dangerous waters
【单选题】 25. I object ________ being kept waiting. Why are you always late ________ appointments?
①  /;for
②  to; for
③  in; for
④  to; in
【单选题】 18.The garage deals_____ gasoline, oil ,etc. t
①  with
②  in
③  for
④  about