若有定义char s1[ ]= “HELLO”, s2[8] = “HELLO1”,s3[80],*s4=s2; 则错误的是 A: strcpy(“s1”, “HELLO”); B: strcat(s2, “hello2”); C: strcpy(s3, “hello3”); D: strcpy(s4, “hello4”);
若有定义char s1[ ]= “HELLO”, s2[8] = “HELLO1”,s3[80],*s4=s2; 则错误的是 A: strcpy(“s1”, “HELLO”); B: strcat(s2, “hello2”); C: strcpy(s3, “hello3”); D: strcpy(s4, “hello4”);
以下程序运行后的输出结果是x="hello "print(x*3) A: hello*3 B: hello hello hello C: hello D: hellohellohello
以下程序运行后的输出结果是x="hello "print(x*3) A: hello*3 B: hello hello hello C: hello D: hellohellohello
以下程序运行结果为()。 A: $A[0]=Hello$A[1]=Hello$A[2]=$A[3]=$A[4]= B: $A[0]=Hello$A[1]=Hello$A[2]=Hello$A[3]= $A[4]= C: $A[0]=$A[1]=$A[2]= $A[3]= $A[4]= D: 程序运行提示错误
以下程序运行结果为()。 A: $A[0]=Hello$A[1]=Hello$A[2]=$A[3]=$A[4]= B: $A[0]=Hello$A[1]=Hello$A[2]=Hello$A[3]= $A[4]= C: $A[0]=$A[1]=$A[2]= $A[3]= $A[4]= D: 程序运行提示错误
【单选题】以下程序运行结果为()。 <?php $A=array_fill(-5,3,"Hello"); for ($i=0; $i<5; $i++){ echo "$A[$i] = ".$A[$i]." "; } ?> A. $A[0] = Hello $A[1] = Hello $A[2] = $A[3] = $A[4] = B. $A[0] = Hello $A[1] = Hello $A[2] = Hello $A[3] = $A[4] = C. $A[0] = $A[1] = $A[2] = $A[3] = $A[4] = D. 程序运行提示错误
【单选题】以下程序运行结果为()。 <?php $A=array_fill(-5,3,"Hello"); for ($i=0; $i<5; $i++){ echo "$A[$i] = ".$A[$i]." "; } ?> A. $A[0] = Hello $A[1] = Hello $A[2] = $A[3] = $A[4] = B. $A[0] = Hello $A[1] = Hello $A[2] = Hello $A[3] = $A[4] = C. $A[0] = $A[1] = $A[2] = $A[3] = $A[4] = D. 程序运行提示错误
<?php $A=array_fill(-5,3,"Hello"); for ($i=0; $i<5; $i++){ echo "\$A[$i] = ".$A[$i]." "; } ?>以下程序运行结果为( )。 A: $A[0] = Hello $A[1] = Hello $A[2] = $A[3] = $A[4] = B: $A[0] = Hello $A[1] = Hello $A[2] = Hello $A[3] = $A[4] = C: $A[0] = $A[1] = $A[2] = $A[3] = $A[4] = D: 程序运行提示错误
<?php $A=array_fill(-5,3,"Hello"); for ($i=0; $i<5; $i++){ echo "\$A[$i] = ".$A[$i]." "; } ?>以下程序运行结果为( )。 A: $A[0] = Hello $A[1] = Hello $A[2] = $A[3] = $A[4] = B: $A[0] = Hello $A[1] = Hello $A[2] = Hello $A[3] = $A[4] = C: $A[0] = $A[1] = $A[2] = $A[3] = $A[4] = D: 程序运行提示错误
"hello".repeat(3)的执行结果是 A: hello B: hellooo C: helloooo D: hellohellohello
"hello".repeat(3)的执行结果是 A: hello B: hellooo C: helloooo D: hellohellohello
已知:s = 'hello' ,ss ='python'<br/>print(s*3)结果是______ 。
已知:s = 'hello' ,ss ='python'<br/>print(s*3)结果是______ 。
以下不能创建一个字典的语句是() A: dict={} B: dict2={3:5} C: dict3={[1,2,3]:”hello”} D: dict4={(1,2,3):”hello”}
以下不能创建一个字典的语句是() A: dict={} B: dict2={3:5} C: dict3={[1,2,3]:”hello”} D: dict4={(1,2,3):”hello”}
语句Print Format("HELLO", " A、HELLO: HELLO|He|he|hello
语句Print Format("HELLO", " A、HELLO: HELLO|He|he|hello
若字符串 s = 'hello world',则语句 s.ljust(15, '.') 和 s.rjust(15) 的输出结果为? A: '....hello world'' hello world' B: 'hello world....'' hello world' C: 'hello world....''hello world ' D: 'hello world....''hello world'
若字符串 s = 'hello world',则语句 s.ljust(15, '.') 和 s.rjust(15) 的输出结果为? A: '....hello world'' hello world' B: 'hello world....'' hello world' C: 'hello world....''hello world ' D: 'hello world....''hello world'