fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. const wchar_t names[1][3] = { { '\x56', '\x45', '\x52' } };
  6.  
  7. for (unsigned i = 0; i < 3; ++i)
  8. std::wcout << names[0][i] << '\n'; // names[1][2] is outside the bounds of the array.
  9. }
Success #stdin #stdout 0s 3312KB
stdin
Standard input is empty
stdout
V
E
R