C++ array out of bound | Dark Hacker News