adspace


What do you mean by a template?

Answer Posted / Monitosh Sharma

A template is a construct in C++ that allows the creation of generic functions or classes, which can be instantiated multiple times with different types. Templates enable code reuse and improve efficiency by avoiding the need for separate function or class definitions for each type.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can union be self referenced?

1271


What is the latest version on c++?

1212


What character terminates all character array strings a) b) . c) END

1402


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1169


daily Routine of father

1488