Smart Pointers and Global Variable Management
Filed under Adobe
The question
Explain smart pointers in C++. Additionally, propose a way to reset a global variable in a function with multiple return statements without duplicating code.
No write-up yet. Related questions below have one.
Related Adobe questions
Collected from public candidate posts and coding forums. Updated Nov 2026.