...
According to C11, Section 6.2.4, para. 2 [ISO/IEC 9899:2011],
The lifetime of an object is the portion of program execution during which storage is guaranteed to be reserved for it. An object exists, has a constant address, and retains its last-stored value throughout its lifetime. If an object is referred to outside of its lifetime, the behavior is undefined. The value of a pointer becomes indeterminate when the object it points to reaches the end of its lifetime.
...
CERT C++ Secure Coding Standard: DCL30-CPP. Declare objects with appropriate storage durations
ISO/IEC 9899:2011 Section Section 6.2.4, "Storage durations of objects," and Section 7.22.3, "Memory management functions"
...