How to take input from text file for adjacency matrix in c language : <p>Here is the inline input for my code.</p>

<pre><code>int graph[V][V] = {{0, 2, 0, 6, 0},
                  {2, 0, 3, 8, 5},
                  {0, 3, 0, 0, 7},
                  {6, 8, 0, 0, 9},
                  {0, 5, 7, 9, 0},
                 };
</code></pre>

<p>I want to take this graph input from the text file to the graph array.</p>
