以下语句中不包含关键字的是() 。
A: x=sqrt(2);
B: while(x!=0)x--;
C: if(x<0)x=-x;
D: eturn x;
A: x=sqrt(2);
B: while(x!=0)x--;
C: if(x<0)x=-x;
D: eturn x;
举一反三
- 以下语句中不包含关键字的是_______ A: x=sqrt(2); B: while(x!=0)x--; C: if(x<;0)x=-x; D: return x;
- 以下语句中不包含关键字的是() A: x=sqrt(2); B: while(x!=O)x--’ C: if(x<0)x=-x; D: retun x;
- 有下列计算公式:若程序前面已在命令行中包含math.h文件,不能够正确计算公式[img=119x53]17e443bfad4c347.png[/img]的程序段是( ) A: if(x>;=0) y=sqrt(x);else y=sqrt(-x); B: y=sqrt(x);if(x<;0) y=sqrt(-x); C: if(x>;=0) y=sqrt(x);If(x<;0) y=sqrt(-x); D: y=sqrt(x>;=0?x:-x);
- 与语句头while(!x)等价的语句头是( )。 A: while(x==0) B: while(x!=0) C: while(x!=1) D: while(~x)
- 对于整型变量x,下列if语句( )与赋值语句:[br][/br] x=x%2==0?1:0;不等价。 A: if(×%2!=0) x=0;else x=1; B: if(×%2) x=1;else x=0; C: .if(×%2==0) x=1;else x=0; D: if(x%2==1) x=0;else x=1;