【单选题】【消耗次数:1】
数组元素下标的数据类型为()。
整型常量、字符型常量或整型表达式
字符串常量
实型常量或实型表达式
任何类型的表达式
参考答案:
复制
纠错
相关题目
【单选题】 在有字符型、整型、实型常数的表达式运算中,其最后结果的类型是()。
①  Char 型
②  long 型
③  float 型
④  double 型
【单选题】 合并表达式中的常量运算的目的是。
①  合并常量,使表达式中的常量尽可能少
②  合并常量,使表达式尽可能简短
③  将可在编译时刻计算的运算在编译时刻计算出来,用所计算出来的值替换表达式中出现的所有这种运算,使得生成的代码指令尽可能少
④  以上都不是
【单选题】 下列表达式中,是逻辑型常量的是
①  Y
②  N
③  NOT
④  .F.
【判断题】 有参函数实参可以是常量、变量或者表达式。
①  正确
②  错误
【单选题】 for(表达式1;;表达式3)可理解为____。
①  for(表达式1;0;表达式3)
②  for(表达式1; 表达式1;表达式3)
③  for(表达式1; 表达式3;表达式3)
④  for(表达式1;1;表达式3)
【单选题】 for(表达式1;;表达式3)可理解为____。
①  for(表达式1;0;表达式3)
②  for(表达式1; 表达式1;表达式3)
③  for(表达式1; 表达式3;表达式3)
④  for(表达式1;1;表达式3)
【单选题】 表达式和表达式语句的区别是( )。
①  表达式的后面加一个分号就构成了表达式语句
②  表达式的后面加一个冒号就构成了表达式语句
③  表达式的后面加一个点就构成了表达式语句
④  表达式的后面加一个句号就构成了表达式语句
【多选题】 if(表达式){}这段代码在程序中的表达式可以出现的形式为()。
①  算术表达式
②  关系表达式
③  逻辑表达式
④  数值0或1
【单选题】 已知一平面简谐波的表达式为y=Acos(at-bt)(a、b为正值常量),则()
①  波的频率为a
②  波的传播速度为b/a
③  波长为/b
④  波的周期为2/a
【单选题】 已知一平面简谐波的表达式为y=Acos(at-bx)(a、b为正值常量),则()
①  波的频率为a。
②  波的传播速度为b/a。
③  波长为p/b。
④  波的周期为2p/a。
随机题目
【单选题】 “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.
①  正确
②  错误
【判断题】 When efficiency and formality are in conflict, the fast-paced modern people often sacrifice the latter.
①  正确
②  错误
【单选题】 The sense relation between “fruit”and “apple”is _______.
①  hyponymy
②  polysemy
③  homonymy
④  synonymy
【单选题】 Noticeable changes of English words in recent years consist of the following characteristics EXCEPT___________ .
①  increasing use of abbreviation
②  increasing use of open compounds
③  increasing use of clauses
④  increasing use of conversion
【单选题】 Historical linguistics reveals that the English vocabulary sprang from three major root sources:_______.
①  Italian, Latin, Greek
②  French, Germanic, Greek
③  Germanic, Latin, Greek
④  Germanic, Italian, French