#include using namespace std ; //Global variable namespace group1 { int var1 = 100 ; } int main() { //local variable hides the global variable int var1 = 5 ; cout << group1::var1 << endl ; }