What is Namespace?

Answer Posted / mohamed shafi k k

a namespace is a simply declarative region the main purpose
is to localize the names of identifiers to avoid name
name collisions .

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the functions memmove() and memcpy()?

642


How a pointer differs from a reference?

698


What is the main use of c++?

561


Explain the concept of dynamic allocation of memory?

623


What is a storage class? Mention the storage classes in c++.

605






What is lambda expression c++?

584


Which is better c++ or java?

573


What is public, protected, private in c++?

663


What is the use of :: operator in c++?

612


What are register variables?

654


What can I safely assume about the initial values of variables which are not explicitly initialized?

630


Tell me an example where stacks are useful?

603


What do you mean by early binding?

605


What does new return if there is insufficient memory to make your new object?

597


Show the application of a dynamic array with the help of an example.

590