What problem does the namespace feature solve?
Answer / nimish singh
Multiple providers of libraries might use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library's external declarations with a unique namespace that eliminates the potential for those collisions.
This solution assumes that two library vendors don't use the same namespace identifier, of course.
Is This Answer Correct ? | 0 Yes | 0 No |
What problems might the following macro bring to the application?
what are the events occur in intr activated on interrupt vector table
What are the extraction and insertion operators in c++? Explain with examples.
Explain what data encapsulation is in c++?
Define upcasting.
When do we run a shell in the unix system? How will you tell which shell you are running?
What is the size of a vector?
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.
What is the default access level?
How many types of classes are there in c++?
Give an example of run-time polymorphism/virtual functions.
Write bites in Turbo c++ Header ("Include") Files.