Why are we use namespace in c++ ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Why are we use namespace in c++ ?

21st Jan 2021, 4:14 PM
Prö Ãrjùñ
Prö Ãrjùñ - avatar
4 Respuestas
+ 8
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. All identifiers at namespace scope are visible to one another without qualification by Microsoft....!
21st Jan 2021, 4:18 PM
Saurya
Saurya - avatar
0
👍
21st Jan 2021, 4:19 PM
Prö Ãrjùñ
Prö Ãrjùñ - avatar
0
You should use search bar to search for similar questions before asking one, it has been answered before and you will find much more meaningful answers that way.
21st Jan 2021, 4:26 PM
Abhay
Abhay - avatar
0
Thanks
21st Jan 2021, 4:27 PM
Prö Ãrjùñ
Prö Ãrjùñ - avatar