cast ctype functions input to unsigned char
From the manpage: If c is not an unsigned char value, or EOF, the behavior of these functions is undefined. (So putting char into them directly is wrong)
Please register or sign in to comment
From the manpage: If c is not an unsigned char value, or EOF, the behavior of these functions is undefined. (So putting char into them directly is wrong)