If you declare this on stack (e.g. in some function) then yes, it will provide stack overflow.
You can declare it as static ('global variable') or allocate memory dynamically.
The Using malloc for allocation of multi-dimensional arrays with different row lengths
question is pretty much about it.