...

/

Quiz: Templates

Quiz: Templates

Test your understanding of templates in C++.

We'll cover the following...
Technical Quiz
1.

(Select all that apply.) Which option is true about templates?

A.

The template allows code to be written for different data types.

B.

A single function can be used for all data types, including user-defined types.

C.

One class can be used for all data types, including user-defined types.

D.

Templates are a form of runtime polymorphism.


1 / 3