A
Amit Kumar
Output of all the four statements are the same on Visual studio:
std::cout << "Hello\n";
std::wcout << "Hello\n";
std::cout << L"Hello\n";
std::wcout << L"Hello\n";
If cout and wcout can handle both char strings and wide char strings
then why do we need wcout?
std::cout << "Hello\n";
std::wcout << "Hello\n";
std::cout << L"Hello\n";
std::wcout << L"Hello\n";
If cout and wcout can handle both char strings and wide char strings
then why do we need wcout?