单项选择题
A. O(n) B. O(n2) C. O(log2n) D. O(nlog2n)
A. switch(x) case 1.0:printf("*\n"); case 2.0:printf("**\n"); B. switch(int(x)) case 1:printf("*\n"); case 2:printf("**\n"); C. switch(a+b) case 1:printf("*\n"); case 1+2:printf("**\n"); D. switch(a+B) case 1:printf("*\n"); case c:printf("**\n");
A. 求字符串s的长度 B. 比较两个串的大小 C. 将串s复制到串t D. 求字符串s所占字节数