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

1. Templates allow only parameterized types for functions.

2. In writing a class template, the function declarations within the class require special placement.


1. False
Explanation: The template facility provides for both parameterized types in function templates and in class templates.
2. False
Explanation: The member functions for a class template are defined the same way and put in the same location as member functions for ordinary classes. The only difference is that the member functions are themselves templates.

Computer Science & Information Technology

You might also like to view...

The operator performs division.

a) / b) + c) \ d) ^

Computer Science & Information Technology

A(n) ________ is a single spreadsheet

Fill in the blank(s) with correct word

Computer Science & Information Technology

Adobe Photoshop includes technology called Digimarc that can add a digital watermark

Indicate whether the statement is true or false.

Computer Science & Information Technology

?A host that provides information or a service to other devices on the network is known as a _________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology