What are Templates in C++?

What are Templates in C++? Correct Answer A feature that allows the programmer to write generic programs

Templates are features in C++ that allows the programmer to write generic programs. for example, making the same function to take different types of arguments and perform the same action on them without specifying the type in the argument list.
Bissoy MCQ

Related Questions

Templates are used for
Which are done by compiler for templates?
Templates simulate which of the following feature?
Which of the following is correct about templates?
Templates can’t be placed inside ______________