execl c++ namespace code example
Example 1: c++ namespace example
#include <iostream>
using namespace std;
namespace square{
int x;
int y;
}
int main(){
using namespace square;
x = 10;
y = 0;
cout << x << y << endl;
}
Example 2: namespace c++
Namespace std::cout or cout <<