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
What is fixed in c++?
Explain dangling pointer.
Which is best c++ or java?
Which is the best c++ software?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What are arrays c++?
Why is standard template library used?
Can member functions be private?
What is meant by const_cast?
Who created c++?
Why namespace is used in c++?
Explain this pointer?
What kind of jobs can I get with c++?
Is c++ a high level language?
What do you mean by global variables?