13 const wchar_t* nullPtr
= 0;
14 const wchar_t* uninitializedPtr
= (const wchar_t*)0xdeadbeef;
15 const wchar_t* str
= L
"abc";
16 const wchar_t* str2
= L
"def";
17 const char* shortStr
= "12345";
19 wchar_t wstr
[64] = { 0 }, // L'\0' <repeats...>
21 wcscpy(wstr
, L
"Some string"); // L"str", '\0' <repeats...>
24 WChar s
= { 0, wstr
};
27 wprintf(L
"wide string: %S\n", str
);
29 for (int i
=0; i
<j
; ++i
)
31 swprintf(wstr
, 63, L
"%d. wide string: %S\n", i
+1, str
);
32 wprintf(L
"%S\n", wstr
);