Use of template | Sololearn: Learn to code for FREE!


Use of template

Guys I wanted to know what's the use of template type in c++

7/10/2020 5:07:21 AM

Prasad Bankar

2 Answers

New Answer


Nice information pls have a read ; 👌


"Template functions can save a lot of time, because they are written only once, and work with different types. Template functions reduce code maintenance, because duplicate code is reduced significantly.” Taken straight from this lesson: