src/GraphCreation.c
/*
 * FUNCTION NAME: createGraph
 *
 * DESCRIPTION:
 * Function allocates memory for a graph and set its
 * initial values to NULL.
 *
 * RETURNS:
 * graph - created graph.
 */
FUNCTION NAME: createGraph
DESCRIPTION:
Function allocates memory for a graph and set its
initial values to NULL.

created graph.
FUNCTION NAME : createGraph DESCRIPTION : Function allocates memory for a graph and set its initial values to NULL . created graph .
Graph_t* createGraph(void)
{
    Graph_t* graph;
    graph = (Graph_t*)malloc(sizeof(Graph_t));
    checkMemory(graph);
    graph->head = NULL;
    return graph;
}
Graph_t * createGraph ( void ) { Graph_t * graph ; graph = ( Graph_t * ) malloc ( sizeof ( Graph_t ) ) ; checkMemory ( graph ) ; graph -> head = NULL ; return graph ; }
FUNCTION NAME: createGraph
 DESCRIPTION:
 Function allocates memory for a graph and set its
 initial values to NULL.
FUNCTION NAME : createGraph DESCRIPTION : Function allocates memory for a graph and set its initial values to NULL .