From 363f62192d97a5a671a816f5207de0e80460735d Mon Sep 17 00:00:00 2001 From: Gaurav Chandra <69711549+GauravChandra-123@users.noreply.github.com> Date: Sun, 31 Oct 2021 20:05:41 +0530 Subject: [PATCH] Update Connected_Components.c --- C/Connected_Components.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C/Connected_Components.c b/C/Connected_Components.c index 2ad3e8b5..a8b4dc8d 100644 --- a/C/Connected_Components.c +++ b/C/Connected_Components.c @@ -9,6 +9,7 @@ int stack[MAX_SIZE], top; struct adjlist_node{ int dest; +int test; struct adjlist_node *next; }; @@ -18,6 +19,7 @@ struct adjlist_node *head; struct Graph{ int V; +int C; int *visited; struct adj_list *arr; };