Namespace | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Namespace

Why namespace is important to include in every programme

12th May 2021, 4:26 PM
Sachin EDU
Sachin EDU - avatar
3 Answers
+ 1
A namespace is a declarative region that provides a scope to the identifiers (the names of types, functions, variables, etc) inside it. Namespaces are used to organize code into logical groups and to prevent name collisions that can occur especially when your code base includes multiple libraries. 1.https://docs.microsoft.com/en-us/cpp/cpp/namespaces-cpp?view=msvc-160 2.https://www.geeksforgeeks.org/why-it-is-important-to-write-using-namespace-std-in-cpp-program/
13th May 2021, 3:17 AM
NEZ
NEZ - avatar
0
What lang please put proper tag
12th May 2021, 4:31 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
12th May 2021, 5:13 PM
Atul [Inactive]