why do we use namespace std in cpp 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;
}