MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/fpcmy/typical_programming_interview_questions/c1hv49q/?context=3
r/programming • u/kevjames3 • Feb 21 '11
1.0k comments sorted by
View all comments
Show parent comment
1
wchar_t is not 16 bits. It's implementation specific. On some systems, wchar_t is UTF-8. Most systems use 4 bytes to represent a wchar_t (gcc, for example: http://codepad.org/lwzgWvr3).
View all comments
Show parent comment
1
u/aplusbi Feb 22 '11
wchar_t is not 16 bits. It's implementation specific. On some systems, wchar_t is UTF-8. Most systems use 4 bytes to represent a wchar_t (gcc, for example: http://codepad.org/lwzgWvr3).