A.make sure
B.reassure
C.ensure
D.assure
第1题:
A、chars[5]={a,e,i,o,u};
B、char*s;s=“good!“;
C、chars[5]=“good!“;
D、chars[5]=“good!“;
第2题:
下列的哪个程序段可能导致错误? ( )
A.String s="hello"; String t="good"; String k=s+t;
B.String s="hello"; String t; t=s[3]+"one";
C.String s="hello"; String standard=s.toUpperCase();
D.String s="hello"; String t=s+"good";
第3题:
以下能正确进行字符串赋值、赋初值的语句是______。
A.char s[5]:{'a','e','i','o','u'};
B.char *s; s="good";
C.char s[5]="good";
D.char s[5]; s="good";
第4题:
A、"GOOD-BYE!"
B、"GOODBYE!"
C、"GOODBYE!"
D、"GOODBYE"
第5题:
下列哪个程序段可能导致错误?
A.String s="hello"; String t= "good"; String k=s+ t;
B.String s="hello"; String t; t=s[3]+"one";
C.String s="hello"; String standard=s. toUpperCase
D.String s="hello"; String t =s+ "good"
第6题:
执行以下程序段后,输出结果是() 。 char s[20]= "Good",t[]="Moring!"; strcat(s,t); puts(s);
A.GoodMoring!
B.Moring!
C.Good
D.Moring!Good