The string.c_str() Function

It converts a string into a const char type of array with a null pointer. So How are we still able to manipulate it?