Suppose a function foo, with no parameters, needs to return an object (or variable) of DataType by reference. The function prototype for foo would look like this:

A. inline DataType foo( );
B. DataType & foo( );
C. DataType foo( ) &;
D. inline DataType foo( ) &;


B

Computer Science & Information Technology

You might also like to view...

Which of the following statements produces the same results as the statement:

std::copy(v1.begin(), v1.end(), v2.begin()); if v1 and v2 are both 10-element vectors? a. std::copy_backward(v1.begin(), v1.end(), v2.begin()); b. std::copy_backward(v2.begin(), v2.end(), v1.begin()); c. std::copy_backward(v1.begin(), v1.end(), v2.end()); d. std::copy_backward(v2.begin(), v2.end(), v1.end());

Computer Science & Information Technology

__________ is a technique that allows a single processor to simultaneously process multiple instructions.

a. Superpipelining b. Multiprogramming c. Pipelining d. Multitasking

Computer Science & Information Technology

The most widely supported version of XHTML is XHTML 1.0.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The most common type of DVI connector used with flat panel monitors is the

A) DVI-X B) DVI-A C) DVI-I D) DVI-D

Computer Science & Information Technology