Automatic Example void do_something(int *p) { } int* func() { int i = 42; do_something(&i); // OK return &i; // NOT OK! }