 <p>Unless its very large I would use:</p> <pre><code>#define M 3 #define N 3 int matrix[M][N]={{0,0,0},{0,0,0},{0,0,0}}; /* above possibly static */ </code></pre> <p>Simples !</p> <p>If the matrix was large simply use <strong>for</strong> loops to initialize.</p>