A.print "Hello/nWorld"
B.print 'Hello World'
C.print 'Hello' print 'World'
D.print 'Hello/nWorld'
A.<"hello",1,1>、<"hadoop",1>和<"world",1>
B.<"hello",2>、<"hadoop",1>和<"world",1>
C.<"hello",<1,1>>、<"hadoop",1>和<"world",1>
D.<"hello",1>、<"hello",1>、<"hadoop",1>和<"world",1>
以下叙述中正确的是
A.不能用字符串常量对字符数组名进行整体赋值操作
B.字符串常量""Hello""会被隐含处理成一个无名字符型数组,它有5个元素
C.charstr[7]=""string!"";在语法上是合法的,运行也是安全的
D.char*str;str=""Hello"";与charstr[];str=""Hello"";效果是一样的
A.key='123',value=‘world’
B.key='123',value=‘hello’
C.key='123',value=‘’
D.报错,该键名称已经存在,无法写入。
A.cout>>"Hello,World\n"
B.cout<<"Hello,World\n"
C.cin>>"Hello,World\n"
D.cin<<"Hello,World\n"
A.char b[10]={'H','e','l','l','o','!'};
B.char b[10]:b="Hello!";
C.char b[10];strcpy(b,"Hello!");
D.char b[10]="Hello!";
不能把字符串"Hello!"赋给数组b的语句是( )。
(A)char b[10]={'H','e','1','1','o','!'};
(B)char b[10];b="Hello!";
(C)char b[10];strcpy(b,"Hello!");
(D)char b[10]="Hello!";
People all over the world use "hello" every day.
A.Right
B.Wrong
C.Doesn't say
A.a+b
B.a*2
C.'h' in a
D.print("Learn python in %s"%('mooc'))