没有搜到到结果?点击这里求解答/求资源。
【单选题】
假定定义int b[10];int *pb;”,则不正确赋值语句( )。

pb=b;
pb=
pb=b+2;
pb=b[5];
【单选题】
在函数定义参数表中,也可以使用函数参数,假定一个函数参数说明为int ff(int),则等价函数指针说明为( )。

int *ff(int)
int ff
int *ff
int (*ff)(int)
【单选题】
在函数定义参数表中,也可以使用函数参数,假定一个函数参数说明为int ff(int),则等价函数指针说明为( )。

int *ff(int)
int ff
int *ff
int (*ff)(int)
【单选题】
假定有“struct BOOK{char title[40];float price;};struct BOOK *book;”,则不正确语句( )。

struct BOOK *x=malloc(book);
struct BOOK x={“C++ Programming”,27.0};
struct BOOK *x=malloc(sizeof(BOOK));
struct BOOK **x=
【单选题】
假定有“struct BOOK{char title[40];float price;};struct BOOK *book;”,则不正确语句( )。

struct BOOK *x=malloc(book);
struct BOOK x={“C++ Programming”,27.0};
struct BOOK *x=malloc(sizeof(BOOK));
struct BOOK **x=
【单选题】
假定一个函数参数说明为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
【单选题】
要求定义一个返回值double类型名为sum函数,其功能为求两 double类型和。正确定义形式( )。

sum(double x,y) { rerurn x+y; }
sum(double x,double y) { return x+y; }
double sum(double x,double y){ return x+y; }
double sum(double x,double y);{ return x+y;}
【单选题】
假定定义int m=7, *p;”,则给p赋值正确表达式

p=m;
p=
*p=
p=*m;
【判断题】
A/D转换器转换精度定义一个实际A/D转换器与一个理想A/D转换器在量化值上差值。

正确
错误