Comment on Why does a control path not execute in this function?

DmMacniel@feddit.de ⁨11⁩ ⁨months⁩ ago

you arent returning something when neither your if nor your else if checks out. given that isalpha returns a boolean, you can forgo your else if (isalpha(letter) == false) since you already check for one of the case (true) and the remainder is just one case (false) thus else will suffice.

source
Sort:hotnewtop