【单选题】strcmp(字符串1,字符串2)有什么作用()
【简答题】字符串的方法中有slice()用来截取字符串 有字符串"The Three FireGuners",请举例说明
【简答题】有字符串"The Three FireGuners",请使用字符串方法获取信息"Fire"
【简答题】字符串的方法中有substr()用来截取字符串 有字符串"The Three FireGuners",请举例说明
【单选题】要使字符串数组str含有"one","two"和"three"三个字符串,正确的定义语句是 ( )
A.
char str[3][5]={"one","two","three"};
B.
char str[3]={"one","two","three"};
C.
char str[][6]={"one","two","three"};
D.
char str[30]={"one"."two"."three"};