Dangling Pointer Demo

C Hard 2 views
Back to Questions

Problem Description

Return the address of the local variable in the function. Initialize it in the function. What's the problem? Then indicate the correct reason (dynamic allocation or static variable).

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev