From 664f5097f011d3e89060f62dc3de99048ca563f3 Mon Sep 17 00:00:00 2001 From: Sarath Kumar S <54178445+Sarath-Kumar-S@users.noreply.github.com> Date: Tue, 1 Oct 2019 09:34:11 +0530 Subject: [PATCH] Update substring_identification.c --- data_structure_lab/substring_identification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structure_lab/substring_identification.c b/data_structure_lab/substring_identification.c index d0744de..7e85e15 100644 --- a/data_structure_lab/substring_identification.c +++ b/data_structure_lab/substring_identification.c @@ -13,7 +13,7 @@ void main() printf("enter substring:\n"); gets(sub); - count1 = strlen(str); + count1 = strlen(str); //Counting length count2 = strlen(sub); for(i=0;i<=count1-count2;i++)