Quiz on C++ Templates

Let’s test your knowledge of templates in C++.

C++ templates

1

Which below best describes the use case of a template?

A)

A template is used to create attributes.

B)

A template is used to manipulate classes.

C)

A template is used to create generic functions and classes.

D)

None of the above.

Question 1 of 70 attempted

Get hands-on with 1400+ tech skills courses.