Computer Science, asked by pihupriya12, 10 months ago

Explain how namespaces enables C++ programmer to prevent

pollution of global namespace.​

Answers

Answered by meetdesai289
0

Answer:

prese controle +C+space+shift

Answered by majirouvik
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