以下语句中不包含关键字的是()
A: x=sqrt(2);
B: while(x!=O)x--’
C: if(x<0)x=-x;
D: retun x;
A: x=sqrt(2);
B: while(x!=O)x--’
C: if(x<0)x=-x;
D: retun 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;
- 有下列计算公式:若程序前面已在命令行中包含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);
- 以下不是死循环的语句是( ) A: for ( ; ; x-- ); B: while (6) { x++; } C: for ( k=100; ; k++) D: x=1; while (x>0) { if (x=10) break; }
- 与语句头while(!x)等价的语句头是( )。 A: while(x==0) B: while(x!=0) C: while(x!=1) D: while(~x)