Simple String Template

Q.

How many types of templates are there in c++?

A. 1
B. 2
C. 3
D. 4

Answer : Option B

Explanation :

There are two types of templates. They are function template and class template.