title: how to iterate over a particular column of 2D array using range based loops in c++
body: <p>I have array <code>board[n][n]</code>.What I want is to traverse from <code>board[0][2]</code> to <code>board[n-1][2]</code> using range based loop <code>for_each()</code>.Can it be possible using range-based loop in c++?</p>