【单选题】【消耗次数:1】
下列的符号常量定义中,错误的定义是(????)
const M=10;
const int M=20;
const char ch;
const bool mark=true;
参考答案:
复制
纠错
相关题目
【判断题】 常量的关键字是const
①  正确
②  错误
【单选题】 下列的符号常量定义中,错误的定义是()
①  const M=10;
②  const int M=20;
③  const char ch;
④  const bool mark=true;
【单选题】 下列的符号常量定义中,错误的定义是()。
①  const M=10;
②  const int M=20;
③  const char ch;
④  const bool mark=true;
【单选题】 下列的符号常量定义中,错误的定义是()。
①  const M=10;
②  const int M=20;
③  const char ch;
④  const bool mark=true;
【单选题】 在下列符号常量定义中,错误的定义语句格式为?
①  const Ml = 10;
②  const int M2=20;
③  const M3 10;
④  const char mark=3
【单选题】 在下列符号常量定义中。错误的定义语句格式为( )。
①  const M1=10;
②  const int M2=20;
③  const M3 10
④  const char mark=’3’;
【单选题】 在下列符号常量定义中。错误的定义语句格式为( )。
①  const M1=10;
②  const int M2=20;
③  const M3 10
④  const char mark=’3’;
【单选题】 假定一个函数的参数说明为const int a,则在函数体中执行( )操作非法。
①  printf(“%d”,a)
②  a==0
③  int x=a
④  a=10
【单选题】 假定一个函数的参数说明为const int a,则在函数体中执行( )操作非法。
①  printf(“%d”,a)
②  a==0
③  int x=a
④  a=10
【单选题】 假定一个函数的参数说明为const int* a,则在函数体中执行( )操作非法。
①  printf(“%d”,*a)
②  a==NULL
③  *a=20
④  a=NULL
随机题目
【判断题】 The bronze horse, 43.5cm high and 45 cm wide.
①  正确
②  错误
【判断题】 We often see bronze horse at scenic spots, hotels or souvenir stores in china.
①  正确
②  错误
【判断题】 I’m planning a trip abroad. Spain maybe, or Greece. 中文意思为:我计划出国旅行。也许是葡萄牙,或者希腊。
①  正确
②  错误
【判断题】 would you like one-way or return ticket? 此句意思为:你想买单程票还是往返票?
①  正确
②  错误
【判断题】 Ha long Bay is one of the most beautiful places in Thailand.
①  正确
②  错误
【判断题】 Halong Bay is included in the world natural heritage list.
①  正确
②  错误
【判断题】 on vacation 中文意思为:在度假
①  正确
②  错误
【判断题】 Rio de Janeiro is the capital city of Spain.
①  正确
②  错误
【单选题】 I’m looking forward ( ) this visit.
①  to
②  in
③  at
④  by
【单选题】 People go to sail and swim in the sea, and( ) in the hills and mountains that overlook the city.
①  walked
②  walks
③  walking
④  to walk