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 difference between malloc()/free() and new/delete?
Can we delete this pointer in c++?
How are pointers type-cast?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
What do you mean by translation unit in c++?
What is a loop? What are different types of loops in c++?
What is #include iostream in c++?
What do you mean by funtion prototype?
What is the difference between a template and a macro?
Which sort does c++ use?
What do the header files usually contains?
Is std :: string immutable?
What are the various compound assignment operators in c++?
Are iterators pointers?
What does std mean in c++?