The size of the board array issue

will it create any problem if we declare board as int board[37]={0}; and the garbage value at 38,39,40,41,42 are negative?i know the edges will be added in the graph which actually does not exist,but can it create wrong answer in some cases?if yes,please give a test case in
which it the wrong answer comes due to it.