Interview Question
Created by admin on Sat, 17/11/2012 - 15:10
Question:
Define namespace.
Language:
Answer:
It is a feature in c++ to minimize name collisions in the global name space. This namespace keyword assigns a distinct name to a library that allows other libraries to use the same identifier names without creating any name collisions. Furthermore, the compiler uses the namespace signature for differentiating the definitions.