namespace std code example
Example 1: using namespace std in c++
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World";
system("pause");
return 0;
}
Example 2: using std c++
using namespace std;
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World";
system("pause");
return 0;
}
using namespace std;