【判断题】【消耗次数:1】
String str=abcdefghi;char chr=str.charAt(9);
正确
错误
参考答案:
复制
纠错
相关题目
【判断题】 String str=abcedf; int length=str.length;
①  正确
②  错误
【判断题】 char[] str=abcdefgh;
①  正确
②  错误
【单选题】 已有定义char str1[15]={“computer”} , str2[15] ; 则语句用法正确的是()。
①  str2=str1;
②  str2=science;
③  scanf(%s,str2);
④  printf(%s,str1);
【单选题】 对于以下结构定义:struct{intlen;char*str;}*p;p->str++中的++加在()
①  指针str上
②  指针p上
③  str所指的内容上
④  以上均不是
【单选题】 函数String(n,"str")的功能是()。
①  把数值型数据转换为字符串
②  返回由n个字符组成的字符串
③  从字符串中取出n个字符
④  从字符串中第n个字符的位置开始取子字符串
【单选题】 若定义:string str; 当语句cin>>str; 执行时,从键盘输入:Microsoft Visual Studio 0! 所得的结果是str=( )。
①  Microsoft Visual Studio 0!
②  Microsoft
③  Microsoft Visual
④  Microsoft Visual Studio 0
【简答题】 下面程序的运行时,输入CLanguage↙,输出是[填空1]。#includestdio.hvoid main( ){ char str[30];scanf(%s,str); printf(%s,str);}
【单选题】 有如下程序段:Dim str1 As String * 5 Str1= ”Visual Basic”当该程序段被执行完时,变量Str1的值是()。
①  ”Visual ”
②  “ Visua ”
③  “ V ”
④  “ Visual Basic ”
【单选题】 有如下程序段:Dim str1 As String * 5 Str1= ”Visual Basic”当该程序段被执行完时,变量Str1的值是()。
①  ”Visual ”
②  “ Visua ”
③  “ V ”
④  “ Visual Basic ”
【单选题】 若定义:string str; 当语句cinstr; 执行时,从键盘输入:Microsoft Visual Studio 0! 所得的结果是str=( )。
①  Microsoft Visual Studio 0!
②  Microsoft
③  Microsoft Visual
④  Microsoft Visual Studio 0
随机题目
【简答题】 我们党提出的“两个一百年”的奋斗目标是,到建党100年时全面[填空],到建国100年时建成富强民主文明和谐的社会主义现代化国家。
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/7360A49A90C5BB5A8932871544903901.png" style="" title="0.png"/><img src="https://huaweicloudobs.ahjxjy.cn/D6C4E9993A873FA893313DC86008F80D.png" style="" title="15.png"/>[填空1]
【简答题】 Translate the following sentence into English.她一点也不生气。事实上,她还有一点高兴。
【简答题】 Direction: Fill in the blanks with the words given below. Change the form if necessary.[hug; flatten; ancestor; amazing; solemnly; comfort; awful; desperately; uproot; cousin]2. Dont hate the new roommate. Hes my[填空1].
【简答题】 Direction: Fill in the blanks with thephrases given below. Change the form if necessary.[sell out; in other words; consist of; stand for; rely on; demand for; engage in; at hand; yield to; confront with]7.From the activities they are[填空1], we cna see they are not so honest.
【判断题】 微机常常是在信息复制和信息交换时感染上计算机病毒。
①  正确
②  错误
【判断题】 在Word 中,文档的页面设置一般不是只指当前页面,而是指整个文档的所有页面。
①  正确
②  错误
【多选题】 以下属于获取图形图像数据有效途径的有(  )。
①  用软件创作
②  用扫描仪扫描
③  用数码相机拍摄
④  从屏幕、动画、视频中捕捉
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/004717E46A16CE63C2037405373F42E1.png" title="5.png" alt="5.png"/><img src="https://huaweicloudobs.ahjxjy.cn/B9D0DCC2F78DB174CEF8BD3C64570F1B.png" title="9.png" alt="9.png"/><img src="https://huaweicloudobs.ahjxjy.cn/3F46FA80CA5846FAD750005235CF7232.png" title="12.png" alt="12.png"/>[填空1]
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/B59F2612B12E6495812B2CE9F68B917F.png" title="9.png" alt="9.png"/>[填空1]