1 how many type parameters may a function template have a none that is not what the 5346711

1. How many type parameters may a function template have?

a) none, that is not what the parameters in a function template are called.

b) 1

c) 2

d) as many as are needed

2. Suppose class D is derived from class B, and class B has a public member

function whose declaration is virtual void f();. Suppose class D has its version

of the function, void f(). Here is a function definition and an invocation.

void g( B& b)

{

// other code

b.f();

// other code

};

g( dObject );

Suppose this is embedded in an otherwise correct and complete program. Which version of

f() will be called?

a) D::f()

b) B::f()

c) This is illegal. You can

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now