两次运行下面的程序,如果从键盘上分别输入10和8,则输出结果为 ______。 #

题型:单项选择题

问题:

两次运行下面的程序,如果从键盘上分别输入10和8,则输出结果为 ______。
#include<iostream.h>
viod main()
   int x:
cin>>x:
if(x++>9)cout<<x;
else cout<<x—<<endl;

A.11和8

B.11和9

C.10和8

D.10和9

考点:计算机等级考试C++二级C++笔试
题型:单项选择题


以下是使用E1线路实现多个64Kbit/s专线连接。
当链路为T1时,channel-group编号为0~23,Timeslot范围为1~24;当链路为E1时, channel-group编号为0~30,Timeslot范围为1~31。
路由器具体设置如下:
Current configuration:
version 11.2
no service udp-small-servers
no service tcp-small-servers
!
hostname router1
!
enable secret 5 $ 1 $ XN08 $ Ttr8nfLoP9.2RgZhcBzkk/
enable password cisco
!
!
ip subnet-zero
controller E1 0
framing NO-CRC4
channel-group 0 timeslots 1
channel-group 1 timeslots 2
channel-group 2 timeslots 3
!
interface Ethernet0
ip address 133.118.40.1 255.255.0.0
media-type 10BaseT
interface Ethernet1
no ip address
shutdown
interface Serial0:0
ip address 202.119.96.1 255.255.255.252
encapsulation hdlc
no ip mroute-Cache
interface Serial0:1
ip address 202.119.96.5 255.255.255.252
encapsulation hdlc
no ip mroute-Cache
!
interface Serial0:2
ip address 202.119.96.9 255.255.255.252
encapsulation hdlc
no ip mroute-Cache
no ip classless
ip route 133.210.40.0 255.255.255.0 Serial0:0
ip route 133.210.41.0 255.255.255.0 Serial0:1
ip route 133.210.42.0 255.255.255.0 Serial0:2
line con 0
line aux 0
line vty 0 4
password cicso
Iogin
!
end

E1和CE1的主要区别是什么

题型:单项选择题

学生认识的特殊性表现在认识的间接性、交往性、教育性和有领导的认识。

题型:单项选择题

有人说美国经济的发展得益于两次社会革命,两次科技革命和两次世界大战,为什么?(6分)

题型:单项选择题

影响大学生择业决策的因素有哪些?

题型:单项选择题

家庭网关主要有路由工作模式、()、桥接工作模式。

更多题库