单选题 C语言
题号 #4244735

有以下定义语句,编译时会出现编译错误的是( ):

进入在线模考

参考答案

D

答案解析

D选项中将字符串常量“aa”赋给字符变量a是错误的。

你可能感兴趣的试题

A.if(x>=0)y=sqrt(x);
if(X<0)y=sqrt(-x); 
B.if(x>=0).V=sqrt(x);
else y:sqrt(-x);
C.y=sqrt(x);
if(x<0)y=sqrt(-x);
D.y=sqrt(x>=0? x:-x);
A.y=-1 
B.y=0 
C.y=1
D.while构成无限循环
找试题 · 找答案 · 找资料 在线模考