c++ How to change a character in char* in for loop

Hey guys i got an assignment that i cant seem to solve. I get a char* string and i need to make all upper case letters (everything is in ASCII) to lower case using bit operations. I'm adding my code but it keeps crashing.