hi guys, i have a task needs to do some comparison for a string, but before compare them, it should be change to lower case. so here is the function for tolower;
after comparison, i need to print out the original string. however, once i use this method, the string is changed cus the pointer of char point to that string.
so how can i change to copy a string to char without pointer?