niusouti.com
更多“How many usable IP addresses can you get from a conventional Class C address?A.128B.192C.2 ”相关问题
  • 第1题:

    有如下类定义: class Point{ private: static int how_many; }; ______how_many=0; 要初始化Point类的静态成员how_many,在下画线处应填入的内容是

    A.int

    B.static int

    C.int Point::

    D.static int Point::


    正确答案:C

  • 第2题:

    —_______ I return the book to the library this week?— No, you _______.You can keep it until the end of this month.

    A.Must; needn’t

    B.Can; can’t

    C.May; mustn’t

    D.Can; mustn’t


    答案:A

  • 第3题:

    有如下类定义: class Point{ private: static int how_many; }; ___________how_many=0; 要初始化Point类的静态成员how_many,下画线处应填入的内容是( )。

    A.int

    B.static int

    C.int Point::

    D.static int Point::


    正确答案:C
    本题考查静态数据成员,静态数据成员可以初始化,但只能在类体外进行初始化,其一般形式为:数据类型类名::静态数据成员名=初值。所以本题答案为C。

  • 第4题:

    有如下类定义:\nclassPoint{\nprivate;\nstaticinthow_many;\n};\n___________how_many=0;\n要初始化Point类的静态成员how_many,下划线处应填入的内容是

    A、ing

    B、staticint

    C、intPoint::

    D、staticintPoint::


    参考答案:D

  • 第5题:

    有如下类定义: class Point{ private: static int how_many; }; ______how_many=0; 要初始化Point类的静态成员how_many,下划线处应填入的内容是

    A.int

    B.static int

    C.int Point: :

    D.static int Point


    正确答案:C
    解析:static int n;是定义静态全局变量,int point是定义类的。

  • 第6题:

    Whichofthefollowingcommandsprovidesdataplaneinformationrequiredtoforwardapackettoaspecificipaddress?()

    A.shiproute

    B.shipcef〈ip_address〉

    C.shadjacency〈ip_address〉

    D.shiproute〈ip_addres$〉

    E.shipadjacency〈/p_address〉

    F.shipcef〈mac_addrQss〉〈ip_address〉


    参考答案:B