答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
假定一个函数的参数说明为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
查看完整题目与答案
【单选题】
在函数定义的参数表中,也可以使用函数参数,假定一个函数参数说明为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)
查看完整题目与答案
【单选题】
假定一个函数的数组参数说明为char a[],则与之等价的指针参数说明为( )。
①
char
②
char* a
③
char a
④
char** a
查看完整题目与答案
【单选题】
假定一个函数的数组参数说明为char a[],则与之等价的指针参数说明为( )。
①
char
②
char* a
③
char& a
④
char** a
查看完整题目与答案
【单选题】
假定一个函数的二维数组参数说明为char w[][N],则与之等价的指针参数说明为( )。
①
char(*w)[N]
②
char *w [N]
③
char(*w) N
④
char** a
查看完整题目与答案
【单选题】
假定一个函数的二维数组参数说明为char w[][N],则与之等价的指针参数说明为( )。
①
char(*w)[N]
②
char *w [N]
③
char(*w) N
④
char** a
查看完整题目与答案
【单选题】
假定一个类的构造函数为“A(int i=4, int j=0) {a=i;b=j;}”, 则执行“A x (1);”语句后,x.a和x.b的值分别为()
①
1和0
②
1和4
③
4和0
④
4和1
查看完整题目与答案
随机题目
【单选题】
下列CSS规则中能够让图层div隐藏的选项是( )。
①
div{visibility:none;}
②
div{ visibility: visible;}
③
div{visibility:hidden;}
④
div{visibility:block;}
查看完整题目与答案
【单选题】
在 HTML5 中,onblur 和 onfocus 是( )
①
HTML 元素
②
样式属性
③
事件属性
④
点击事件
查看完整题目与答案
【单选题】
下列选择器,能够设置鼠标悬停状态下的样式的是( )
①
:hover
②
:active
③
:focus
④
:link
查看完整题目与答案
【单选题】
下列CSS规则中能够使超链接在盘旋时产生上画线效果的选项是( )。
①
a:hover{text-decoration:none;}
②
a:hover{text-decoration:underline;}
③
a:hover{text-decoration:line-through;}
④
a:hover{text-decoration:overline;}
查看完整题目与答案
【单选题】
下列选项中能够实现两个图层div同时向右浮动的是( )。
①
div{float:right;}
②
div{float:none;}
③
div{float:left;}
④
div{clear:both;}
查看完整题目与答案
【单选题】
能够保存localStorage对象数据的方法是( )。
①
localStorage.setItem(key,value)
②
localStorage.getItem(key)
③
localStorage.removeItem(key)
④
localStorage.key(index)
查看完整题目与答案
【单选题】
在设置线性渐变时至少需要指定( )次颜色停止。
①
2
②
3
③
4
④
1
查看完整题目与答案
【单选题】
HTML5 Canvas对象的默认宽度为300px,默认高度是( )
①
200px
②
300px
③
400px
④
500px
查看完整题目与答案
【单选题】
下列选项中为行内标记的是( )。
①
p /p
②
div /div
③
span /span
④
pre /pre
查看完整题目与答案
【单选题】
使用Canvas绘制圆形的方法是( )。
①
beginPath()
②
arc(x,y,100,开始角度,结束角度,绘制方向)
③
closePath()
④
A. B,C三个方法依次执行
查看完整题目与答案