Skip to content

Commit a0444ed

Browse files
authored
Update Count_word.c
1 parent 9af68d5 commit a0444ed

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Strings/Count_word.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
int count_words(char *sen)
88
{
99
int i=0,check=1,word=0;
10-
//dynamically allocating memory
11-
realloc(sen,strlen(sen)+1);
1210
//until i is less then length of sen variable the loop will run
1311
while(strlen(sen)>i)
1412
{

0 commit comments

Comments
 (0)