Algorithms/C/BFS/BFS_traversal.c
void addVertex(char label) {
   struct Vertex* vertex = (struct Vertex*) malloc(sizeof(struct Vertex));
   vertex->label = label;  
   vertex->visited = false;     
   lstVertices[vertexCount++] = vertex;
}
//add vertex to the vertex list
add vertex to the vertex list
add vertex to the vertex list
void addVertex(char label) {
   struct Vertex* vertex = (struct Vertex*) malloc(sizeof(struct Vertex));
   vertex->label = label;  
   vertex->visited = false;     
   lstVertices[vertexCount++] = vertex;
}
void addVertex ( char label ) { struct Vertex * vertex = ( struct Vertex * ) malloc ( sizeof ( struct Vertex ) ) ; vertex -> label = label ; vertex -> visited = false ; lstVertices [ vertexCount ++ ] = vertex ; }
add vertex to the vertex list
add vertex to the vertex list