Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
characters beyond first in wide-character constant ignored
The compiler processes only the first character of a wide-character constant.
// C4066.cpp
// compile with: /W3
#include <iostream>
int main()
{
wchar_t wc = L'AB'; // C4066
std::wcout << wc;
}
A