We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4571c04 commit d50ea33Copy full SHA for d50ea33
chapter_4/exercise_4_13/reverse.c
@@ -27,7 +27,7 @@ void reverse(char str[])
27
28
str[j++] = c;
29
}
30
- if (s[j] == '\0') // if whole reverse process is complete, reset the static variables to make this function reusable
+ if (str[j] == '\0') // if whole reverse process is complete, reset the static variables to make this function reusable
31
{
32
i = 0;
33
j = 0;
0 commit comments