【单选题】【消耗次数:1】
在C语言中,引用数组元素时,其数组下标的数据类型允许是( )。
整型常量
整型表达式
整型常量或整型表达式
任何类型的表达式
参考答案:
复制
纠错
相关题目
【单选题】 在C语言中,引用数组元素时,其数组下标的数据类型允许是( )?
①  整型常量
②  整型表达式
③  整型常量或整型表达式
④  任何类型的表达式
【单选题】 在c语言中,引用数组元素时,其数组下标的数据类型允许是__.
①  整型常量
②  整型表达式
③  整型常量或整型表达式
④  任何类型的表达式
【单选题】 在C语言中,引用数组元素时,其数组下标的数据类型允许是(  )。
①  整型常量
②  整型表达式
③  整型常量、变量或表达式
④  任何类型的表达式
【单选题】 在有字符型、整型、实型常数的表达式运算中,其最后结果的类型是()。
①  Char 型
②  long 型
③  float 型
④  double 型
【单选题】 C语言中,关系表达式和逻辑表达式是()。
①  0
②  0或1
③  1
④  ‘T’或’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
随机题目
【单选题】 I think the private ownership of guns is a _______mistake.
①  wonderful
②  great
③  tragic
④  romantic
【单选题】 America has a lot of _______ weapons now.
①  aggressive
②  expensive
③  passive
④  expressive
【单选题】 My grandfather had suffered from cancer for two years. It was no surprise when I was told that he had _____.
①  passed off
②  passed away
③  passed by
④  passed over
【单选题】 Not only ______ our money, but we were also in danger of losing our lives.
①  we lost
②  lost we
③  we did lose
④  did we lose
【单选题】 We are going to have a singing party tonight. Would you like to join us?___________
①  I’m afraid not, because I have to go to an important meeting.
②  Of course not. I have no idea.
③  No, I can’t.
④  That’s all set.
【单选题】 Use daily writing to ______ your communication skills.
①  track
②  discharge
③  contract
④  enhance
【单选题】 The dean of the Philosophy Department requested that the visiting scholar ______ a lecture on the philosopher Sartre.
①  gave
②  give
③  would give
④  had given
【单选题】 It became harder for women married to diplomats(外交家) to _______ their own interests.
①  pursue
②  replace
③  absorb
④  convince
【单选题】 As a result of his hard work, he has gained ______ to the Beijing University.
①  access
②  commitment
③  opportunity
④  reward
【单选题】 Planning so far ahead _____ no sense -- so many things will have changed by next year.
①  made
②  is making
③  makes
④  has made