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 is the use of templates?

Answer Posted / aboelella

Template is used to optimize code
instead of implementing the same code for multiple data
types, template works as a way to declare classes and
functions and then to be implemented with different data types

It is dependent on the data structure used to substitute the
template

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible for a member function to delete the pointer, named this?

1085


What is function prototyping?

1042


What do manipulators do?

962


What is a unnitialised pointer?

1013


Show the declaration for a pointer to function returning long and taking an integer parameter.

1064


Explain the term memory alignment?

1159


Can notepad ++ run c++?

1003


Define namespace in c++?

998


Is swift a good first language?

1001


What are the uses of typedef in a program?

1029


Explain differences between alloc() and free()?

1044


What is meant by a delegate?

1032


What is an orthogonal base class in c++?

1092


Who invented turbo c++?

1016


What is static in c++?

1006