Simple String Template

Q.

Which are done by compiler for templates?

A. type-safe
B. portability
C. code elimination
D. all of the mentioned

Answer : Option A

Explanation :

The compiler can determine at compile time whether the type associated with a template definition 

can perform all of the functions required by that template definition.