wchar_t and unsigned short

wchar_t *p = L"VBATEST"; 

 

equals

 

unsgined short *p="V/0B/0A/0T/0E/0S/0T/0/0"

 

/////////////////////////////////

 

but wchar_t t=L'V';

 

equals

 

unsigned short t ='/0V'

 

(continue...)

你可能感兴趣的:(wchar_t and unsigned short)