Answer Posted / saurabh chauhan
templates are used to create generic functions as well as
classes..which can support miltiple data types..
they are mainly used when algorithm is commom for diff data
types...so we dont hav to implement again and again for
diff data types ..we make a generic func. which works for
all...
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is the difference between inheritance and polymorphism?
What is new keyword in oops?
What is data binding in oops?
Is abstract thinking intelligence?
What is destructor oops?
What is the importance of oop?
How do you achieve runtime polymorphism?
Why is polymorphism needed?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
How many human genes are polymorphic?
Is this job good for future? can do this job post grduate student?
What do you mean by abstraction?
What are the three parts of a simple empty class?
What is polymorphism in oop example?