+ 3

What is a template?

31st Oct 2017, 8:24 AM
Varanasi Tejasvi
Varanasi Tejasvi - avatar
2 Answers
+ 4
You can find it in C++ course, in "Templates, Exceptions, and Files" chapter, I guess they gave enough explanation about it and some examples too. As I see it, probably it's close to the concept of polymorphism, as it allows ease of work with different types. Hth, cmiiw
31st Oct 2017, 8:49 AM
Ipang
+ 2
templates are simpler form and easy coding for writing same function for different data types .this concept is used only in c++
19th Jun 2018, 3:24 PM
chandra sekhar
chandra sekhar - avatar