Lifetime of pointers value

You mean the entire string is copied on the stack ? Interesting...

What would come out of the compiler if local_string[] was declared const ?

Going to check out...