#include #include #include int main() { wchar_t *str = L"HaLf WiDe ChAr StRiNg!\n"; fputws(str, stdout); for (int i = 0; i < wcslen(str); i++) { putwchar(towctrans(str[i], wctrans("toupper"))); } return 0; }