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
Which compiler does turbo c++ use?
What is an orthogonal base class in c++?
What is a c++ class?
Can we specify variable field width in a scanf() format string? If possible how?
Explain what happens when a pointer is deleted twice?
What do you mean by overhead in c++?
What is linked list in c++?
What is ctime c++?
Which function cannot be overloaded c++?
Is python better than c++?
Search for: what is pair in c++?
What do the header files usually contains?
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
What are the basics of local (auto) objects?
What is heap sort in c++?