Assertion: function's variable | /r/HasProperty | declared inside the function
Facets:
Source sentences:
text: If a same-named variable is declared inside the function then it shadows the outer one.
text: Within the body of the function, the return statement should NOT return a pointer or a reference that has the address in memory of a local variable that was declared within the function, because as soon as the function exits, all local variables are destroyed and your pointer or reference will be pointing to some place in memory which you no longer own, so you cannot guarantee its contents.