【多选题】【消耗次数:1】
以下说法正确的是( )
定义时系统将各元素初值设为.T.
定义时系统将各元素初值设为.F.
VisualFoxPro中,同一个数组元素前、后的类型也可改变
VisualFoxPro中,同一数组的各元素类型可不同
参考答案:
复制
纠错
相关题目
【单选题】 在Visual FoxPro中,数组元素定义后,其初值为
①  0
②  .T.
③  .F.
④  空值
【单选题】 要定义一个int型数组A,并使其各元素具有初值9,0,3,0,0,不正确的定义语句是()
①  int A[]={9,0,3}
②  int A[]={9,0,3,0,0}
③  int A[5]={9,0,3}
④  int A[5]={9,0,3,0}
【判断题】 通过指针引用一维数组元素时,定义的指针变量的数据类型可以和数组元素类型相同
①  正确
②  错误
【判断题】 在数组操作符中,“+”表示将两个数组中的各元素进行加法运算。
①  正确
②  错误
【单选题】 同一队列内各元素的类型( )。
①  必须一致
②  不能一致
③  可以不一致
④  不限制
【判断题】 假设A是一维数组名,则*A和A[0]访问的是同一个数组元素。
①  正确
②  错误
【判断题】 可变类型数组的各个数组元素的数据类型可以不同。
①  正确
②  错误
【单选题】 若有说明,int [3][4];则数组a各元素
①  可在程序的运行阶段得到初值0
②  可在程序的编译阶段得到初值0
③  不能得到确定的初值
④  可在程序的编译或运行阶段得到初值0
【判断题】 结构体数组的每一个数组元素都是一个结构体类型的数据。
①  正确
②  错误
【判断题】 可以用下标法引用一个数组元素,也可以用指针法引用一个数组元素。
①  正确
②  错误
【单选题】 定义一个有4个元素的一维整型数组,正确的是
①  floata[4];
②  inta[]={1,2,3,4,5};
③  inta[]={1,2,3};
④  inta[4]={1}
随机题目
【单选题】 The pressure _____ causes Americans to be energetic, but it also puts them under a constant emotional strains.
①  to compete
②  competing
③  to be competed
④  having competed
【单选题】 We should make a clear ____ between the two scientific terms for the purpose of our discussion.
①  separation
②  discrimination
③  deviation
④  distinction
【单选题】 He _______ to study harder in the future so that he could have more opportunities to find a better job.
①  resolved
②  resorted
③  requested
④  reserved
【单选题】 She accused the man _____ breaking into her house.
①  at
②  of
③  for
④  with
【单选题】 Students with _______ problems may apply for student loans.
①  economic
②  financial
③  male
④  economical
【单选题】 James Fraser ____ tradition by using three actual American Indians as models for his creation.
①  went out
②  went for
③  went in
④  went against
【单选题】 Many manufacturers were accused of concentrating too heavily on cost reduction, often at the ____ of the quality of their products.
①  expense
②  exposure
③  expansion
④  expectation
【单选题】 I always ____ what I have said.
①  get to
②  hold to
③  lead to
④  see to
【单选题】 The manager promised to keep me ____ of how our business was going on.
①  to be informed
②  on informing
③  informed
④  informing
【单选题】 I’m very sorry to have ____ you with so many questions on such an occasion.
①  interfered
②  offended
③  impressed
④  bothered