Answer Posted / achal ubbott
Template feature came to c++ quite later from its birth. It
basically helps some big coders.
Now if u buy 2 libraries from market and both of these
define a class Ethernet; Then if u use both of them in your
code the copiler will give some redeclaration of class
errors. So this Namespace feature helps the coder to
differentiate among the two.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is a class? Explain with an example.
Do the names of parameters have to agree in the prototype, definition, and call to the function?
Describe the process of creation and destruction of a derived class object?
What is #include iostream?
What does it mean to declare a member variable as static?
Is sorted c++?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
Write my own zero-argument manipulator that should work same as hex?
How to allocate memory dynamically for a reference?
What is the best c++ book for beginners?
Is java based off c++?
What is a class definition?
What is a local reference?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
How a macro differs from a template?