Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are templates? where we should use it?

Answer Posted / prabhatkr09

Template allow us to write one function and class that works for different datatype .

Use :

Create a type safe collection class that can operate on data of any type.

add extra type checking for function.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which software is best for c++ programming?

1014


Explain "const" reference arguments in function?

1012


What is difference between c++ and c ++ 14?

1006


What is microsoft c++ redistributable?

1045


Should a constructor be public or private?

993


What is microsoft c++ redistributable 2013?

1058


Why is c++ difficult?

1007


Is nan a c++?

1107


What is & in c++ function?

1021


Can we define function inside main in c++?

973


What do you mean by overhead in c++?

1046


How a new operator differs from the operator new?

1074


How would you use the functions randomize() and random()?

1046


What is auto type c++?

1086


What is the basic structure of a c++ program?

1099