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
Is it possible for a member function to delete the pointer, named this?
What is function prototyping?
What do manipulators do?
What is a unnitialised pointer?
Show the declaration for a pointer to function returning long and taking an integer parameter.
Explain the term memory alignment?
Can notepad ++ run c++?
Define namespace in c++?
Is swift a good first language?
What are the uses of typedef in a program?
Explain differences between alloc() and free()?
What is meant by a delegate?
What is an orthogonal base class in c++?
Who invented turbo c++?
What is static in c++?