17 lines
209 B
C++
17 lines
209 B
C++
#include <iostream>
|
|
|
|
using namespace std;
|
|
void print_obj();
|
|
|
|
namespace nt {
|
|
void print() {
|
|
cout << "Hello from namespace\n";
|
|
}
|
|
}
|
|
|
|
int main() {
|
|
nt::print();
|
|
print_obj();
|
|
return 0;
|
|
}
|