Комментарии:
What does s[i] means why that i char is using in it
ОтветитьAlternative solution:
void letter_flip(char *str){
char *p;
for(p = str; *p != '\0'; p++) {
if(*p >= 65 && *p<= 90)
*p += 32;
else if(*p >= 97 && *p<= 122)
*p -= 32;
else
*p = *p;
}
}
thanks for the videos as always