Is a string literal in c++ created in static memory and destroyed only when the program exits?
String literals are stored in read-only segments of memory