c-first-steps

a C playground
Index Commits Files Refs README
commit b7b81c10cdffddff273a65c31af3c45ffc2ae6e2
parent c5e571c1d9dfd7f444e77e772fd535d2a7cf63cd
Author: Martin J. Klöckner <64109770+klewer-martin@users.noreply.github.com>
Date:   Thu,  3 Dec 2020 20:58:20 -0300

Update ex26.c

Fixed a type error in a comment
Diffstat:
M95.11/guia03/ex26.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/95.11/guia03/ex26.c b/95.11/guia03/ex26.c
@@ -15,7 +15,7 @@ int main ( void ) {
         return 1;
     }
 
-//  This part couts the lengh of the first string
+//  This part counts the length of the first string
 //    and replaces the new line character for a blank space;
     for(i = 0; str1[i] != '\0'; i++)
         if(str1[i] == '\n')