【单选题】【消耗次数: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
随机题目
【单选题】 1.When hewas a boy, he used to go there and watch____.
①  to repair bicycles
②  bicycles to be repaired
③  bicycles being repaired
④  repairing bicycles
【单选题】 11.It was getting dark. I found a car____in a pool by the side of the road.
①  to be stuck
②  stuck
③  sticking
④  stick
【单选题】 11.Mrs. Black has got ____ instead of getting any better.
①  more bad
②  a little worse
③  much badly
④  a lot of worse
【单选题】 2. When we speak to people, we should be ___.
①  as polite as possible
②  as polite as possibly
③  as politely as possible
④  as politely as possibly
【单选题】 7. This pencil is ____than that one.
①  longest
②  long
③  longer
④  as long
【单选题】 16. The jacket was so ____ that he decided to buy it.
①  much
②  little
③  expensive
④  cheap
【单选题】 17. Our classroom is ____ larger than theirs.
①  more
②  quite
③  very
④  much
【单选题】 19. Your room is ____ mine.
①  twice as large
②  twice the size of
③  bigger twice than
④  as twice large as
【单选题】 4. I think the story is not so ____as that one.
①  interesting
②  interested
③  more interesting
④  most interesting
【单选题】 3.This book is ____that one, but ____than that one.
①  as difficult as; expensive
②  as more difficult as; more expensive
③  as difficult as; more expensive
④  more difficult as; as expensive