nested_anonymous_namespace code example
Example: nested_anonymous_namespace
#include <iostream>
using namespace std;
namespace{
int x;
namespace one{
int x= 250;
void display(){
cout << x << endl;
}
}
}
int main()
{
x = 100;
cout << x <<endl;
one :: display();
return 0;
}