This will run forever:
for(a;strlen(tab);a++)
I think you meant:
for(a;a < strlen(tab);a++)
Or better (because strlen
is O(n)):
for(;tab[a];a++)
3
solved tolower() and toupper() aren’t working [closed]
This will run forever:
for(a;strlen(tab);a++)
I think you meant:
for(a;a < strlen(tab);a++)
Or better (because strlen
is O(n)):
for(;tab[a];a++)
3
solved tolower() and toupper() aren’t working [closed]