题目内容

8 The next function value of the pattern string 'ababaabaa' is ( ).

A. 011234223456
B. 012345678999
C. 012121111212
D. 0123012322345

查看答案
更多问题

9 The return value of the function strcmp ('stcabuc ',' stbabuc ') is ( ).

A. 1
B. -1
C. 2

10 Pattern string t = 'abcaabbcabcabdab', the next function value of the pattern string is ( ).

A. 0 1 1 1 2 2 3 1 1 2 3 4 5 6 7 1 2
B. 0 1 1 1 2 2 1 1 1 2 3 4 5 6 7 1 2
C. 0 1 1 0 2 1 3 1 0 1 1 0 2 1 7 0 1
D. 0 1 1 1 0 0 1 3 1 0 1 1 0 0 7 0 1

11 If the null string is a substring of any string, the number of substrings of string S= 'Computer' is ( ).

A. 37
B. 9
C. 36
D. 8

12 StrIndex(‘DATASTRUCTURE',‘STR')=( ).

A. 5
B. 3
C. 4
D. 6

答案查题题库