#include <iostream>
using namespace std;
namespace first_space {
void func() {
cout << "Inside first_space" << endl;
}
}
namespace second_space {
void func() {
cout << "Inside second_space" << endl;
}
}
using namespace first_space;
int main()
{
func();
return 0;
}
#include <iostream>
using namespace std;
namespace first_space {
void func() {
cout << "Inside first_space" << endl;
}
namespace second_space {
void func() {
cout << "Inside second_space" << endl;
}
}
}
using namespace first_space::second_space;
int main() {
func();
return 0;
}