参考答案和解析
正确答案:C
更多“字符串‟hel/‟lo‟输出结果为()A、’hello’B、’hel lo’C、hel’loD、hel/’lo”相关问题
  • 第1题:

    用ls–al命令列出下面的文件列表,()文件是符号连接文件。

    A.-rw-rw-rw- 2 hel-susers 56 Sep0911:05hello

    B.-rwxrwxrwx 2 hel-susers 56 Sep0911:05goodbey

    C.drwxr--r-- 1 helusers 1024 Sep1008:10zhang

    D.lrwxr--r-- 1 helusers 2024 Sep1208:12cheng


    正确答案:D

  • 第2题:

    有如下程序void func1(int st[],int i){ printf("%c",st[i]); if(i}void func2(int st[],int i){ printf("%c",st[i]); if(i}main(){ char st[ ]="hello,friend! "; int i=0;func1(st,i); printf("\n");}程序执行后输出的结果是A.hello B.hel C.hlo D.编译出错


    正确答案:D
    本题主要考查全局变量的作用域。在本题中,程序首先声明两个无返回值函数func1和func2。func1函数带有两个形参,一个是需要输出的数字,一个是输出数组元素的下标。在函数体中,首先输出以形参作为下标的数组元素值,然后执行if条件判断语句,其条件为形参变量i<3。如果结果为真,则将变量i加2后保存,然后调用func2函数;如果条件结果为假,则结束该函数。
    从程序中不难看出,func2函数与func1函数基本类似,只是最后它对函数func1进行调用,与前者不同,两个函数是互相调用的。
    在主函数中首先定义了一个字符数组,并赋了初值,然后定义一个变量i并赋值为0,如果数组st是一个全局数组,那么调用函数func1,根据我们对函数func1的分析可知,此时能输出st[0]即字符’h’,而此时if语句的结果为真,执行i加2并调用func2函数操作。此时变量i的值为2,因此,输出st[2]即字符‘l’,此时函数func2中的if条件语句结果为真,同样执行i加2并调用func1函数操作,然后通过func1函数输出st[4]即字符‘o’,但由于数组只是一个局部数组,局部数组的作用域是定义它的函数或者程序段,调用函数func1时,数组有效,当再调用函数func2时,已经超出了数组的作用域。因此,系统在编译时会报错。本题答案选D。

  • 第3题:

    ● 用Linux ls –al 命令列出下面的文件列表, (33) 是块设备文件。

    (33)

    A.drwx----- 1 hel users 1024 Sep 10 08:10 aaa

    B.-rw------- 2 hel-s users 56 Sep 09 11:05 bbb

    C.brw------- 2 hel-s users 56 Sep 09 11:05 ccc

    D.lrwx----- 1 hel users 2024 Sep 12 08:12 ddd


    正确答案:C



  • 第4题:

    HEL Server 5系统启动时默认由以下哪个系统引导程序实施系统加载?()

    • A、GRUB
    • B、LILO
    • C、KDE
    • D、GNOME

    正确答案:A

  • 第5题:

    拉伸圆形试样的平行部分长度一般不小于Lo+bo/2,仲裁试验时应为()。

    • A、Lo+bo
    • B、Lo+2bo
    • C、Lo+bo/2

    正确答案:A

  • 第6题:

    拉伸矩形试样的平行部分长度一般不小于Lo+bo,仲裁试验时应为()。

    • A、Lo+2bo
    • B、Lo+3bo
    • C、Lo+bo

    正确答案:A

  • 第7题:

    HEL是哪个城市的代码()

    • A、维也纳
    • B、赫尔辛基
    • C、塔什干

    正确答案:B

  • 第8题:

    你是公司网管,域中有Win2k成员服务器Hel,已经为Hel配置了RRAS。用户可以使用拨号连接公司网络。你公司有一个组叫Sales,你希望所有Sales组成员使用智能卡远程登陆验证。为所有sales组成员配置的拨号许可为control access through remote access policy。你创建远程访问策略叫SA,远程访问策略允许Sales组成员所有时间都可以远程访问。你的远程策略在Hel的策略列表中位于首位。Sales组成员可以远程访问,但报告无法使用智能卡,如何()

    • A、在AD中天津Hel进入Pre-windows 2000 compatibleaccess组
    • B、使用EAP在Hel和客户端访问,使用EAP在Sales组远程访问策略
    • C、为所有Sales组成员选择store password susing reversible encryption
    • D、为所有Sales组成员配置用户委派信任关系

    正确答案:B

  • 第9题:

    Which three route filtering statements are true?()

    • A、After the router ospf 10  and passive - interface s0/0 commands have been issued , the s0/0 interface will not send any OSPF updates, but will receive routing updates on that interface
    • B、When you use the passive - interface command with RIPv2, multicasts are sent out the specified interface
    • C、After the router rip and passive -interface s0/0 commands have been issued, the s0/0 interface will not send any RIP updates, but will receive routing updates on that interface
    • D、When you use the passive - interface command with EIGRP, hel lo messages are not sent out the specified interface
    • E、After the router eigrp 10 and passive - interface s0/0 commands have been issued, the s0/0 interface will not send any EIGRP updates, but will receive routing updates on that interface
    • F、When you use the passive - interface command with OSPF, hello messages are not sent out the specified interface

    正确答案:C,D,F

  • 第10题:

    女性,45岁,3年前于当地医院诊断为肺结核,间断HER治疗1年,自觉症状好转停药,未复查。半年后因病变进展改服HERZ治疗半年,查痰涂片抗酸杆菌(+)×3。本患者宜选用()

    • A、ERHZ
    • B、SRHZ
    • C、HEL2S
    • D、HEL2Z
    • E、DVL2S1321TH

    正确答案:E

  • 第11题:

    单选题
    用ls-al命令列出下面的文件列表,哪个文件是符号连接文件()。
    A

    -rw-rw-rw-2hel-susers56Sep0911:05hello

    B

    -rwxrwxrwx2hel-susers56Sep0911:05goodbey

    C

    drwxr--r--1helusers1024Sep1008:10zhang

    D

    lrwxr--r--1helusers2024Sep1208:12cheng


    正确答案: A
    解析: 暂无解析

  • 第12题:

    单选题
    字符串„hel‟lo‟输出结果为()
    A

    ’hello’

    B

    ’hel lo’

    C

    hel’lo

    D

    hel/’lo


    正确答案: B
    解析: 暂无解析

  • 第13题:

    搜索考生文件夹下的HEL.PPT文件,然后将其移动到考生文件夹下的PPT文件夹中。


    正确答案:搜索文件 ①打开考生文件夹:②单击工具栏上 在窗口的左侧弹出“搜索助理”任务窗格;在[全部或部分文件名]中输入要搜索的文件名单击“搜索”按钮搜索结果将显示在右侧文件窗格中。 移动文件: ①选定搜索出的文件;②选择[编辑→剪切]命令或按快捷键Ctrl+X;③打开考生文件夹下PPT文件夹:④选择[编辑→粘贴]命令或按快捷键Ctrl+V。
    搜索文件 ①打开考生文件夹:②单击工具栏上 ,在窗口的左侧弹出“搜索助理”任务窗格;在[全部或部分文件名]中输入要搜索的文件名,单击“搜索”按钮,搜索结果将显示在右侧文件窗格中。 移动文件: ①选定搜索出的文件;②选择[编辑→剪切]命令,或按快捷键Ctrl+X;③打开考生文件夹下PPT文件夹:④选择[编辑→粘贴]命令,或按快捷键Ctrl+V。

  • 第14题:

    Which three route filtering statements are true?()

    A. After the router ospf 10 and passive - interface s0/0 commands have been issued , the s0/0 interface will not send any OSPF updates, but will receive routing updates on that interface

    B. When you use the passive - interface command with RIPv2, multicasts are sent out the specified interface

    C. After the router rip and passive -interface s0/0 commands have been issued, the s0/0 interface will not send any RIP updates, but will receive routing updates on that interface

    D. When you use the passive - interface command with EIGRP, hel lo messages are not sent out the specified interface

    E. After the router eigrp 10 and passive - interface s0/0 commands have been issued, the s0/0 interface will not send any EIGRP updates, but will receive routing updates on that interface

    F. When you use the passive - interface command with OSPF, hello messages are not sent out the specified interface


    参考答案:C, D, F

  • 第15题:

    本患者宜选用

    A.ERHZ

    B.SRHZ

    C.HEL2S

    D.HEL2Z

    E.DVL2S1321TH


    正确答案:E

  • 第16题:

    字符串„hel‟lo‟输出结果为()

    • A、’hello’
    • B、’hel lo’
    • C、hel’lo
    • D、hel/’lo

    正确答案:C

  • 第17题:

    某简支托梁和其上部的砌体组合承重墙梁用以支承托梁墙体及其上的荷重时,托梁高度hb应满足()

    • A、≥Lo / 8
    • B、≥Lo /10
    • C、≥Lo /12
    • D、≥Lo /15

    正确答案:B

  • 第18题:

    熔池深度以LO表示,氧气流胶穿透深度以L表示,通常L/LO=(),规定L/LO≤0.9。


    正确答案:0.70-0.85

  • 第19题:

    屋盖、楼盖及楼梯等受弯构件中,当lo<7m时,其挠度限值为()

    • A、lo/200;
    • B、lo/250;
    • C、lo/300;
    • D、lo/400。

    正确答案:A

  • 第20题:

    以下配置邮件主题过滤关键字错误的是()。

    • A、firewall smtp-filter subject add*
    • B、firewall smtp-filter subject add*hello*
    • C、firewall smtp-filter subject addhel lo
    • D、firewall smtp-filter subject add"hel lo"

    正确答案:B,C

  • 第21题:

    体重相同的两人,同时沿均质定滑轮两侧的绳索由静止开始爬绳,绳子与人之间以及绳子与滑轮之间都无相对滑动,不计轴O摩擦,设整个系统的动量为p,对轴O的动量矩为LO,则()。

    • A、p、LO守恒
    • B、p守恒,LO不守恒
    • C、LO守恒,p不守恒
    • D、p、LO都不守恒

    正确答案:C

  • 第22题:

    单选题
    某简支托梁和其上部的砌体组合承重墙梁用以支承托梁墙体及其上的荷重时,托梁高度hb应满足()
    A

    ≥Lo / 8

    B

    ≥Lo /10

    C

    ≥Lo /12

    D

    ≥Lo /15


    正确答案: D
    解析: 暂无解析

  • 第23题:

    单选题
    血小板的正常值是(  )。
    A

    (100~300)×lO9/L

    B

    (200~300)×lO9/L

    C

    (100~500)×lO9/L

    D

    (50~100)×lO9/L

    E

    (30~60)×109/L


    正确答案: D
    解析: 暂无解析

  • 第24题:

    单选题
    一般注射剂从配制到灭菌不应超过().
    A

    lh

    B

    2h

    C

    5h

    D

    10h

    E

    l2h


    正确答案: E
    解析: 暂无解析