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
How does the copy constructor differ from the assignment operator (=)?
What is the benefit of encapsulation?
What is prototype in c++ with example?
What is a memory leak c++?
Why is c++ not purely object oriented?
What is while loops?
Why do you use the namespace feature?
Using a smart pointer can we iterate through a container?
What is a lambda function c++?
What does flush do?
How do you establish a has-a relationship?
What is scope operator in c++?
What are static type checking?
What is the use of map in c++?
What is searching? Explain linear and binary search.