How the template class is different from the normal class?

a) Template class generate objects of classes based on the template type
b) Template class saves system memory
c) Template class helps in making genetic classes
d) All of the mentioned

1 thought on “How the template class is different from the normal class?”

  1. d
    Explanation: Size of the object of template class varies depending on the type of template parameter passed to the class. Due to which each object occupies different memories on system hence saving extra memories. Template class also helps in making generic classes.

Leave a Comment