Stacks and heaps are implementation details and are platform dependent (the whole world is not x86). Of the POV language, what is the storage class and degree is important.
String literals have a static extent; the storage for them is allocated at program startup and held until the program terminates. It is also assumed that string literals cannot be changed (trying to do this causes undefined behavior). Contrast this with local variables of scale (auto), whose storage is allocated when the block is written and freed when the block exits. Typically, this means that string literals are not stored in the same memory as block variables.
source share