diff options
Diffstat (limited to 'ch2/2-10.c')
-rw-r--r-- | ch2/2-10.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ int main() { void lower_str(char source[], char dest[]) { int i; - for (i = 0; source[i] != '\0'; i++) + for (i = 0; source[i]; i++) dest[i] = lower_char(source[i]); dest[i] = '\0'; |