【单选题】【消耗次数:1】
下面的四个数组说明语句语法正确的是()。
DIMX[10]
DIMENfn(10)
DIMX(20)
DIMENSIONa[10]
参考答案:
复制
纠错
相关题目
【单选题】 在VisualBasic中下面的四个数组声明语句,正确的是()。
①  Dima[10]
②  Deffn(10)
③  Dima(10)
④  Dimensiona(10)
【单选题】 有说明语句int *p=new int[10];访问动态数组元素的正确语句是()
①  int a=p;
②  int a=*p;
③  delete int[]p
④  delete p int[10]
【单选题】 下面的四个选项中,可以对数组a进行正确初始化的语句是()。
①  int a[10]=(0,0);
②  int a[10]={};
③  int a[]=(0);
④  int a[10]={10*1};
【单选题】 以下四个选项中,可以描述array数组,其中含有10个元素正确的是()。
①  array[0]=10
②  array=0
③  array[10]=0
④  array[-1]=0
【单选题】 若有说明语句 int a[10],*p=a;对数组元素正确的引用是
①  a[p]
②  p[a]
③  *(p+1)
④  p+2
【单选题】 说明语句“staticinti=10;”中,“i=10”的含义是()
①  只说明了一个变量
②  与inti=10在功能上等价
③  将变量i初始化为10
④  将变量i赋值为10
【单选题】 已知四点A(10、20、30)、B(30、20、10)、C(10、20、10)、D(20、20、30),则对H面的重影点为______。
①  Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE A与D,D点可见
②  Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:等线; mso-ascii-font-family:等线; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:等线; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:等线; mso-hansi-theme-font:minor-latin; mso-font-kerning:1.0pt;} B与C,B点可见
③  Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:等线; mso-ascii-font-family:等线; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:等线; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:等线; mso-hansi-theme-font:minor-latin; mso-font-kerning:1.0pt;} A与C,A点可见
④  Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:等线; mso-ascii-font-family:等线; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:等线; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:等线; mso-hansi-theme-font:minor-latin; mso-font-kerning:1.0pt;} A与C,C点可见
【单选题】 用calloc函数创建具有10个整型元素的一维数组的正确语句是( )。
①  int *p=calloc(10,2);
②  int *p=callo(10;
③  int *p=calloc(10,4);
④  int *p=malloc(10);
【单选题】 用calloc函数创建具有10个整型元素的一维数组的正确语句是( )。
①  int *p=calloc(10,2);
②  int *p=callo(10;
③  int *p=calloc(10,4);
④  int *p=malloc(10);
【单选题】 若有说明:int a[10];,则对a数组元素的正确引用是(  )。
①  a[10]
②  a[3.5]
③  a(5)
④  a[10-10]
随机题目
【判断题】 A simile is used in the sentence “He is like a lion when he gets angry.”
①  正确
②  错误
【判断题】 The most notable language variation is at the level of words people choose --- lexical variation.
①  正确
②  错误
【判断题】 An adverb collocation refers to a chunk that is often used adverbially, with or without an adverb in it.
①  正确
②  错误
【单选题】 For formal English, we’d better NOT choose_______.
①  words of glorification
②  verbs of action
③  words of strength
④  peculiar words
【单选题】 “in addition to”is a/an_______ collocation.
①  noun
②  conjunction
③  preposition
④  adverb
【单选题】 The figure of speech used in “The world is a stage”is_______.
①  simile
②  metaphor
③  paradox
④  allusion
【单选题】 When making a choice of words, speaker/writer needs to consider the following major factors EXCEPT_______.
①  audience
②  length of speech
③  purpose
④  formal and informal English
【判断题】 Homophones are two or more words that sound alike, but look different and have different meanings, such as “sea”and “see”.
①  正确
②  错误
【判断题】 All the free morphemes are lexical morphemes and all the bound morphemes are grammatical morphemes.
①  正确
②  错误
【判断题】 Anglo-Saxon vocabulary is usually regarded as the main body of the English vocabulary.
①  正确
②  错误