历史

42.维尔VERITAS软件笔试题(1/2)

    1. A class Bwork on the inte has a su mask of 255.255.240.0, what is the maximum number of hosts per su   .

    a. 240  b. 255  c. 4094d. 65534

    2. What is the difference: between o(log n) and o(log n^2), where both logarithems have base 2   .

    a. o(log n^2) is bigger  b. o(log n) is bigger

    c. no difference

    3. For a class what would happen if we call a class’s constructor from with the same class’s constructor   .

    a.pilation error b. linking error

    c. stack overflow  d. none of the above

    4. “new” in c++ is a:   .

    a. library function like malloc in c

    b. key wordc. operator