'Where are literal strings stored in memory?

I noticed that when defining 2 literal strings with the same string, they point to the same address. Then I wondered "where are literal strings stored in the memory?"

I have been looking on the internet for answers but I could not find anything clear that does actually answer my question and makes me understand the answer.

c


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source