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