问题详情
答题翼
>
问答
>
其他
> 正文
目录:
标题
|
题干
|
答案
|
搜索
|
相关
考察以下程序片段:var str = “12px”;var s = str.indexof();以下选项正确的是 以下选项正确的是
考察以下程序片段:var str = “12px”;var s = str.indexof();以下选项正确的是 以下选项正确的是
A、输出1
B、输出2
C、输出p
D、输出12
参考答案
您可能感兴趣的试题
(12 ) 有以下程序#include <stdio.h>#include <string.h>void fun (char *str ){
答案解析
(12 ) 有以下程序#include <stdio.h>#include <string.h>void fun (char *str ){
答案解析
有以下程序main(){ char str[]="xyz",*ps=str; while(*ps) ps++; for(ps--; ps-str>=0; ps--) p
=0; ps--) p" class="resolve">答案解析
有以下程序#include "stdio.h"main(){ char str[]="tomeetme",str1[]="toseeyou"; char *p=str,*
答案解析
以下程序的输出结果 是_______。main(){ char str[12]={s i g};printf(\%d
答案解析
有以下程序 main( ) { char str[ ]=xyz *ps=str; while(*ps) ps++; for(ps--;ps-str>=0
答案解析
以下程序片段的输出结果是______。char str[]=abc\n\012\\\\;printf(\%d strlen(str));A.4B.5C
答案解析