Skip to content

Commit 912d704

Browse files
author
Marcel Coetzee
committed
Fix Typo
Signed-off-by: Marcel Coetzee <[email protected]>
1 parent 64e013e commit 912d704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter_3/exercise_3_04/itoa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void str_reverse(char str1[], int index, int size)
5858
str_reverse(str1, index + 1, size);
5959
}
6060

61-
// NOTE: It does not handle the smalles negative number because it does not have
61+
// NOTE: It does not handle the smallest negative number because it does not have
6262
// a positive equivalent. This means that just using a expression like n = -n is
6363
// not enough for the smallest negative number. If we take the absolute value of
6464
// n % 10 we get the correct value and character.

0 commit comments

Comments
 (0)