title: Why wstring can accept WCHAR[] while string doesn't accept UCHAR[]
body: <p>I am trying to print the returned value of <code>NtQueryValueKey</code> which is <code>UCHAR Data[1];</code> i have tried <code>printf</code>, <code>cout</code>, and <code>string(Data, DataLengh)</code>, with the first two printing only 1 character and the last one throws an exception... Basically if i changed the Data Type to <code>WCHAR Data[1]</code> and used <code>wstring(Data)</code> it accepts it normally without any complain... also <code>wprintf</code> prints the value normally.</p>
  
  <p>Edit: I meant <code>NtQueryValueKey</code> using the <code>KEY_VALUE_PARTIAL_INFORMATION</code>, I am using VS 2015 btw...</p>