Sorting string problem

I didn’t understand first argument of strtok() in this sorting string problem ie
(char*)str.c_str()