Can You Access a Local Variable Outside Its Scope in C++? Dangling Pointers Explained | CodeTrail