Explain how namespaces enables C++ programmer to prevent
pollution of global namespace.
Answers
Answered by
0
Answer:
prese controle +C+space+shift
Answered by
2
Explanation:
Since C++ is a procedure oriented programming language it actually spreads all its variables globally and they are a accesible everywhere(low security) except a few cases, thus to prevent any kind of name collison we use namespace to seperate them from other global names or else this will create chaos in naming the variables in our code...
From Rouvik Maji
I expect this might help you...
Similar questions