ProAnswers.org

is it possoble to access local variable's memory outside its scope?

all local variables are stored on the stack and their scope will be there till execution of the function, the stack can be accessed but it will be very difficult to know which variable hold which memory segment.