char and wchar_t are character data types in C++.
Almost every Windows API function has 2 versions. One that expects ANSI characters and strings, and one that expects WIDE characters and strings.
The MessageBox function. Ansi and Wide.
sizeof(char)==1. sizeof(wchar_t)==2. Don't forget the terminating null character which is a 1-byte char, or a 2-byte wchar.
sizeof(char) vs. sizeof(wchar_t)
CHAR and WCHAR are typedefs for char and wchar_t.