From my knowledge, string literals are stored in system-protected areas when used in executable code and not initialization. Does this also hold when using string literals in the sizeof function for example:
sizeof("example")
Is this string (char array) even created in memory and if not, where is it created and how does it get the correct result of 8 including the nul character?