We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f175b54 commit 0dbed1dCopy full SHA for 0dbed1d
0x04-more_functions_nested_loops/1-isdigit.c
@@ -10,7 +10,7 @@
10
*/
11
int _isdigit(int c)
12
{
13
- if (c >= 0 && c <= 9)
+ if (c >= '0' && c <= '9')
14
15
return (1);
16
}
0 commit comments