11. Graph Traversal.c
//Add elements into the graph using adj matrix
Add elements into the graph using adj matrix
Add elements into the graph using adj matrix
void add(Graph *g, int src, int dest)
{
	g->adj[src][dest]=1;
}
void add ( Graph * g , int src , int dest ) { g -> adj [ src ] [ dest ] = 1 ; }
Add elements into the graph using adj matrix
Add elements into the graph using adj matrix
//g->adj[dest][src]=0; //for undirected graph