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 40937ff commit 60fe24dCopy full SHA for 60fe24d
chapter_5/exercise_5_05/strncmp.c
@@ -44,7 +44,7 @@ int strcmp_ptr(char *s, char *t, size_t n)
44
45
// If the t string contains more character than s, then the s char will
46
// become '\0' before t char. If this happen then the s char will be 0 and
47
- // t char will be whatever ascii_value it's holding, so the final result will be 0 - t_ascii_value.
+ // t char will be whatever ascii_value is holding, so the final result will be 0 - t_ascii_value.
48
49
return *s - *t;
50
}
0 commit comments