【名词&注释】
可读性(readability)、优先级(priority)、字符串(string)、表达式、逻辑运算符(logical operator)、关系运算符、结束符(end fent mark)
[单选题]下列定义变量的语句中错误的是
A. int _int;
B. double int_;
C. char For;
D. float US$;
查看答案&解析查看所有试题
学习资料:
[单选题]在Visual FoxPr0中,逻辑表达式中逻辑运算的优先顺序是( )
A. .NOT.,.AND.,.OR.,()
B. .AND.,!,(),.OR.
C. (),!,.AND.,.OR.
D. (),.AN,X!,.OR.
[单选题]下列为窗口事件的是( )。
A. MouseEvent
B. WindowEvent
C. ActionEvent
D. KeyEvent
[单选题]下列程序的输出结果是 #includeiostream.h> void main() { char*str="12123434"; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!=‘\0’;i++) switch(str[i]) { case'l':x4++; case'2':X3++; case'3':x2++; case'4':X1++; } cout X1 " ," x2 " ’" x3 " ," X4; }
A. 8,6,3,2
B. 8,8,4,1
C. 8,6,4,2
本文链接:https://www.51ksbd.net/show/66zle0.html