[单选题]

下列语句中,错误的是( )。

A.const int buffer=-256;

B.const int temp;

C.const double *point;

D.const double *rt=new double(5.5);

参考答案与解析:

相关试题

下列语句中错误的是( )。

[单选题]下列语句中错误的是( )。A.int a[][]=new int[2][];B.int a[][]=new int[][];C.int a[][]=new int[2][3];D.int[][] a=new int[3][2];

  • 查看答案
  • 下列语句中错误的是

    [单选题]下列语句中错误的是A.String s[]={"how","are"};B.byte b=255;C.String s="one"+"two";D.int i=2+2000;

  • 查看答案
  • 下列语句中,错误的是

    [单选题]下列语句中,错误的是A.const int buffer=256;B.const int temp;C.const double *point;D.const double *rt=new double(5.5);

  • 查看答案
  • 下列语句中,错误的是( )。

    [单选题]下列语句中,错误的是( )。A.B.C.D.

  • 查看答案
  • 下列语句中,错误的是()。

    [单选题]下列语句中,错误的是( )。A.const int buffer=256;B.const double *point;C.int const buffer=256;D.double *const point;

  • 查看答案
  • 下列语句中错误的是

    [单选题]下列语句中错误的是A.String s[]={"how","are"};B.byte b=255;C.String s="one"+"two";D.int i=2+2000;

  • 查看答案
  • 下列语句中错误的是( )。

    [单选题]下列语句中错误的是( )。A.const int a;B.const int a=10;C.const int*point=0;D.const int*point=new int(10);

  • 查看答案
  • 下列语句中,错误的是

    [单选题]下列语句中,错误的是A.const int buffer=256;B.const double *point;C.int const buffer=256;D.double * const point;

  • 查看答案
  • 下列语句中,错误的是______。

    [单选题]下列语句中,错误的是______。A.const int buffer=256;B.const double*point;C.int const buffer=256;D.double*const point;

  • 查看答案
  • 下列语句中错误的是

    [单选题]下列语句中错误的是A.String S[]={"how","are"};B.byte b=255;C.String s="one"+"two";D.int i=2+2000;

  • 查看答案
  • 下列语句中,错误的是()。