【单选题】【消耗次数:1】
在函数定义的参数表中,也可以使用函数参数,假定一个函数参数说明为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)
【单选题】 假定一个函数的参数说明为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
【单选题】 假定一个函数的参数说明为const int* a,则在函数体中执行( )操作非法。
①  printf(“%d”,*a)
②  a==NULL
③  *a=20
④  a=NULL
【单选题】 假定一个函数的数组参数说明为char a[],则与之等价的指针参数说明为( )。
①  char
②  char* a
③  char a
④  char** a
【单选题】 假定一个函数的数组参数说明为char a[],则与之等价的指针参数说明为( )。
①  char
②  char* a
③  char& a
④  char** a
【单选题】 int Func(int,int);不可与下列哪个函数构成重载( )
①  int Func(int,int,int);
②  double Func(int,int);
③  double Func(double,double);
④  double Func(int,double);
【单选题】 int Func(int,int);不可与下列哪个函数构成重载( )
①  int Func(int,int,int);
②  double Func(int,int);
③  double Func(double,double);
④  double Func(int,double);
【单选题】 下列语句中,将函数int sum(int x, int y)正确重载的是( )。
①  float sum(int x, int y);
②  int sum(int a, int b);
③  float sum(float x, float y);
④  double sum(int y, int x);
随机题目
【多选题】 19世纪外国儿童文学的主要特征有:
①  儿童文学已经成为一个独立的门类,不在依附于成人文学
②  涌现出一大批优秀的儿童文学作家,其中有的以其文学业绩而成为举世公认的儿童文学巨匠。
③  空前繁荣的儿童文学创作,促使儿童文学多种体裁得以形成和确立。
④  19世纪的儿童文学仍旧处在幼稚状态和自发状态。
【多选题】 50年代,曾获得1953年纽伯里奖的 ,是美国儿童文学作品的两座高峰。
①  《夏洛的网》
②  《好兵帅克》
③  《堂吉诃德》
④  《小老鼠斯图亚特》
【单选题】 尿蛋白(++),最多见于
①  高温环境
②  剧烈运动
③  肾脏器质性病变
④  肾淤血
⑤  高血压病
【单选题】 家庭的主要功能是
①  满足家庭成员的基本生活需求
②  建立家庭关爱气氛
③  培养家庭成员的社会责任感
④  维护家庭成员的安全与健康
⑤  为健康状态不佳的成员提供良好的支持与照顾
【单选题】 To make this ____ clear we shall have to look closely into biology’s long history.
①  distinction
②  indication
③  recognition
④  constitution
【单选题】 This hotel _____ us _____ a large house.
①  provides; for
②  offers; to
③  provides; with
④  offers; with
【单选题】 It’s very ____ and very kind of you to offer me this lovely holiday.
①  thoughtful
②  grateful
③  marvelous
④  considerable
【单选题】 Farmers are allowed to grow small gardens of their own and they sell their vegetables ____ the black market.
①  on
②  at
③  in
④  for
【单选题】 The small mountain village was ____ by the snow for more than one month.
①  cut back
②  cut out
③  cut off
④  cut away
【单选题】 — I heard they went skiing in the mountains last winter. —It_____ true because there was little snow there.
①  may not be
②  won’ t be
③  couldn’ t be
④  mustn’ t be