要在屏幕上显示“Hello,world!”应执行语句cout <<【 】。
下列语句中,正确的是( )。A.char*myString="Hello-World!";B.char myString="Hello-World!";C.char myString[11]="Hello-World!";D.char myString[12]="Hello-World!";
点击查看答案
下面两个语句是等价的:ChArstr[]='hEllo,worlD';ChArstr[11]='hEllo,worlD';()
下列语句中正确的是A.char*myString="Hello-World!";B.char myString="Hello-World!";C.char myString[11]=”Hello-World!”;D.char nlyString[12]="Hello-World!";
编写一个Java程序在屏幕上输出“Hello, world!”。
设char str1[11]="HELLO,",str2[10]=“world”;则执行语句cout设char str1[11]="HELLO,",str2[10]=“world”;则执行语句 cout<<strlen(strcpy(str1,str2)));后的输出结果是 ______。A.12B.11C.7D.5
4、以下语句的输出结果是: print("hello",end='+') print("world")A.hello+worldB.hello+ worldC.hello worldD.hello+ world+
10、执行下列C++语句:if (1 < 0 || false) cout << “Hello world!”; 显示器上将显示()。A.“Hello world!”B.Hello, world!C.Hello world!D.什么都没显示